Update Amazon Corretto 8 #571
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 Amazon Corretto 8 | |
on: | |
schedule: | |
- cron: 0 15 * * 1-5 | |
workflow_dispatch: | |
jobs: | |
run: | |
name: "Run Java Migration for Amazon Corretto 8" | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [ 8 ] | |
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 amazon-corretto | |
run: ./mvnw spring-boot:run -Dspring-boot.run.arguments="--foojay.java.distribution=corretto --foojay.distribution.version=${{ matrix.java-version }} --foojay.java.release-status=ga --foojay.java.javafx-bundled=true" | |
env: | |
SDKMAN_RELEASE_CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }} | |
SDKMAN_RELEASE_CONSUMER_TOKEN: ${{ secrets.CONSUMER_TOKEN }} |