From b4d578120f8c9403d346ef809965299a7cdb3d99 Mon Sep 17 00:00:00 2001 From: micronaut-build <65172877+micronaut-build@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:31:16 +0100 Subject: [PATCH] Update common files (#516) --- .github/workflows/graalvm-dev.yml | 15 ++++++++++++--- .github/workflows/gradle.yml | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/graalvm-dev.yml b/.github/workflows/graalvm-dev.yml index ecd870d6e..eb0203b21 100644 --- a/.github/workflows/graalvm-dev.yml +++ b/.github/workflows/graalvm-dev.yml @@ -28,7 +28,15 @@ jobs: runs-on: ubuntu-latest strategy: max-parallel: 6 - matrix: ${{ fromJson(needs.build_matrix.outputs.matrix) }} + matrix: + java: ['dev', 'latest-ea'] + distribution: ['graalvm-community', 'graalvm'] + native_test_task: ${{ fromJson(needs.build_matrix.outputs.matrix).native_test_task }} + exclude: + - java: 'dev' + distribution: 'graalvm' + - java: 'latest-ea' + distribution: 'graalvm-community' env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }} @@ -39,7 +47,8 @@ jobs: uses: micronaut-projects/github-actions/graalvm/pre-build@master id: pre-build with: - java: 'dev' + java: ${{ matrix.java }} + distribution: ${{ matrix.distribution }} - name: Build Steps uses: micronaut-projects/github-actions/graalvm/build@master id: build @@ -53,4 +62,4 @@ jobs: uses: micronaut-projects/github-actions/graalvm/post-build@master id: post-build with: - java: 'dev' + java: ${{ matrix.java }} diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 58cbb2339..cffd16db9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -45,14 +45,14 @@ jobs: fetch-depth: 0 - name: "🔧 Setup GraalVM CE" - uses: graalvm/setup-graalvm@v1.1.6 + uses: graalvm/setup-graalvm@v1.2.1 with: distribution: 'graalvm' java-version: ${{ matrix.java }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: "🔧 Setup Gradle" - uses: gradle/gradle-build-action@v3.0.0 + uses: gradle/gradle-build-action@v3.1.0 - name: "❓ Optional setup step" run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4158900bf..3a4bd1cb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,7 +134,7 @@ jobs: actions: read # To read the workflow path. id-token: write # To sign the provenance. contents: write # To add assets to a release. - uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9.0 + uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10.0 with: base64-subjects: "${{ needs.provenance-subject.outputs.artifacts-sha256 }}" upload-assets: true # Upload to a new release.