Update JetBrains Runtime #330
This file contains 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
name: Update JetBrains Runtime | |
on: | |
schedule: | |
- cron: 0 15 * * 1-5 | |
workflow_dispatch: | |
jobs: | |
run: | |
name: "Run Java Migration for JetBrains Runtime" | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [ 11, 17, 21 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
cache: 'maven' | |
- name: Run jetbrains-runtime | |
run: ./mvnw spring-boot:run -Dspring-boot.run.arguments="--foojay.java.distribution=jetbrains --foojay.distribution.version=${{ matrix.java-version }} --foojay.java.release-status=ga" | |
env: | |
SDKMAN_RELEASE_CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }} | |
SDKMAN_RELEASE_CONSUMER_TOKEN: ${{ secrets.CONSUMER_TOKEN }} |