ci: upgrade GraalVM to Java 21 to match build toolchain #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| assemble: | |
| name: Assemble | |
| uses: ./.github/workflows/assemble.yml | |
| secrets: inherit | |
| release: | |
| name: Release | |
| needs: [ assemble ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Download artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: artifact | |
| path: build/distributions | |
| - name: Release | |
| run: ./gradlew jreleaserRelease | |
| env: | |
| JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_USERNAME: ${{ vars.GH_PAT_USERNAME }} | |
| GITHUB_TOKEN: ${{ secrets.GH_PAT_TOKEN }} | |
| - name: Upload JReleaser output | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jreleaser-release | |
| path: | | |
| build/jreleaser/trace.log | |
| build/jreleaser/output.properties |