Skip to content

Commit 82adee4

Browse files
committed
Setup jbang to call revapi clear justifications
1 parent 8b8aff4 commit 82adee4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/prepare-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ jobs:
3838
ref: ${{ github.ref }}
3939
token: ${{steps.app-token.outputs.token}}
4040

41+
- name: Java setup
42+
uses: actions/setup-java@v4
43+
with:
44+
java-version: '21'
45+
distribution: 'temurin'
46+
cache: maven
47+
48+
- name: Tools setup
49+
run: |
50+
curl -s "https://get.sdkman.io" | bash
51+
source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang
52+
4153
- name: Get GitHub App User ID
4254
id: get-user-id
4355
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)