diff --git a/.github/workflows/graalvm-dev.yml b/.github/workflows/graalvm-dev.yml index 4dccaa70..27e011af 100644 --- a/.github/workflows/graalvm-dev.yml +++ b/.github/workflows/graalvm-dev.yml @@ -20,11 +20,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build Matrix - uses: micronaut-projects/github-actions/graalvm/build-matrix@master + uses: micronaut-projects/github-actions/graalvm/build-matrix@latest-graalvm-changes id: build-matrix - with: - graalvm: 'dev' - java: '17' build: needs: build_matrix if: github.repository != 'micronaut-projects/micronaut-project-template' @@ -39,21 +36,21 @@ jobs: steps: - uses: actions/checkout@v3 - name: Pre-Build Steps - uses: micronaut-projects/github-actions/graalvm/pre-build@master + uses: micronaut-projects/github-actions/graalvm/pre-build@latest-graalvm-changes id: pre-build with: - graalvm: ${{ matrix.graalvm }} - java: ${{ matrix.java }} + java: 'dev' - name: Build Steps uses: micronaut-projects/github-actions/graalvm/build@master id: build env: GH_TOKEN_PUBLIC_REPOS_READONLY: ${{ secrets.GH_TOKEN_PUBLIC_REPOS_READONLY }} GH_USERNAME: ${{ secrets.GH_USERNAME }} + GRAALVM_QUICK_BUILD: true with: nativeTestTask: ${{ matrix.native_test_task }} - name: Post-Build Steps uses: micronaut-projects/github-actions/graalvm/post-build@master id: post-build with: - java: ${{ matrix.java }} + java: 'dev' diff --git a/.github/workflows/graalvm-latest.yml b/.github/workflows/graalvm-latest.yml index e9581676..9e3b0f09 100644 --- a/.github/workflows/graalvm-latest.yml +++ b/.github/workflows/graalvm-latest.yml @@ -26,11 +26,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build Matrix - uses: micronaut-projects/github-actions/graalvm/build-matrix@master + uses: micronaut-projects/github-actions/graalvm/build-matrix@latest-graalvm-changes id: build-matrix - with: - graalvm: 'latest' - java: '17' build: needs: build_matrix if: github.repository != 'micronaut-projects/micronaut-project-template' @@ -45,21 +42,22 @@ jobs: steps: - uses: actions/checkout@v3 - name: Pre-Build Steps - uses: micronaut-projects/github-actions/graalvm/pre-build@master + uses: micronaut-projects/github-actions/graalvm/pre-build@latest-graalvm-changes id: pre-build with: - graalvm: ${{ matrix.graalvm }} - java: ${{ matrix.java }} + distribution: 'graalvm-community' + java: '17' - name: Build Steps uses: micronaut-projects/github-actions/graalvm/build@master id: build env: GH_TOKEN_PUBLIC_REPOS_READONLY: ${{ secrets.GH_TOKEN_PUBLIC_REPOS_READONLY }} GH_USERNAME: ${{ secrets.GH_USERNAME }} + GRAALVM_QUICK_BUILD: true with: nativeTestTask: ${{ matrix.native_test_task }} - name: Post-Build Steps uses: micronaut-projects/github-actions/graalvm/post-build@master id: post-build with: - java: ${{ matrix.java }} + java: '17' diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d0c741c8..1417889e 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -19,7 +19,6 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - graalvm: [ 'latest'] java: ['17'] env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} @@ -48,9 +47,8 @@ jobs: - name: "🔧 Setup GraalVM CE" uses: graalvm/setup-graalvm@v1 with: - version: ${{ matrix.graalvm }} + distribution: 'graalvm-community' java-version: ${{ matrix.java }} - components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - name: "🔧 Setup Gradle"