Update Trava OpenJDK #577
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 Trava OpenJDK | |
on: | |
schedule: | |
- cron: 0 15 * * 1-5 | |
workflow_dispatch: | |
jobs: | |
run: | |
name: "Run Java Migration for Trava OpenJDK" | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [ 8, 11 ] | |
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 trava-openjdk | |
run: ./mvnw spring-boot:run -Dspring-boot.run.arguments="--foojay.java.distribution=trava --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 }} |