From 3949fff7f6044bae5eef506f59a8ca131c3999bb Mon Sep 17 00:00:00 2001 From: Ozan Gunalp Date: Mon, 16 Dec 2024 16:26:28 +0100 Subject: [PATCH] Setup jbang to call revapi clear justifications --- .github/project.yml | 1 - .github/workflows/prepare-release.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/project.yml b/.github/project.yml index b7c52f0c7..8f2d858ff 100644 --- a/.github/project.yml +++ b/.github/project.yml @@ -3,4 +3,3 @@ release: previous-version: 4.25.0 current-version: 4.26.0-RC1 next-version: 999-SNAPSHOT - diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 5d717e23c..17ccebd87 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -38,6 +38,18 @@ jobs: ref: ${{ github.ref }} token: ${{steps.app-token.outputs.token}} + - name: Java setup + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + + - name: Tools setup + run: | + curl -s "https://get.sdkman.io" | bash + source ~/.sdkman/bin/sdkman-init.sh && sdk install jbang + - name: Get GitHub App User ID id: get-user-id run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"