-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
41 lines (41 loc) · 1.18 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 'Action helpers'
description: 'GitHub Actions helpers for the Quarkus project'
inputs:
github-token:
description: 'GitHub token'
required: true
action:
description: 'Name of the action (if named)'
required: false
workflow-run-id:
description: 'Workflow run id'
required: false
build-metadata-file-path:
description: 'Path to the build-metadata.json file'
required: false
body:
description: 'Body of the comment'
required: false
body-marker:
description: 'Comment marker'
required: false
pr-number:
description: 'The number of the pull request'
required: false
runs:
using: "composite"
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- id: install-jbang
run: curl -Ls https://sh.jbang.dev | bash -s - app setup
shell: bash
- id: action
run: ~/.jbang/bin/jbang --repos 'github=https://maven.pkg.github.com/quarkusio/action-helpers/' --repos 'mavencentral' io.quarkus.bot:action-helpers:999-SNAPSHOT
shell: bash
env:
JSON_INPUTS: ${{ toJSON(inputs) }}
GITHUB_TOKEN: ${{ inputs.github-token }}