diff --git a/.github/workflows/ci-init-script-check.yml b/.github/workflows/ci-init-script-check.yml index 2f63084..bc324ff 100644 --- a/.github/workflows/ci-init-script-check.yml +++ b/.github/workflows/ci-init-script-check.yml @@ -20,7 +20,7 @@ jobs: distribution: temurin java-version: 8 - name: Setup Gradle - uses: gradle/gradle-build-action@v2.8.1 # Use a released version to avoid breakages + uses: gradle/gradle-build-action@v2.9.0 # Use a released version to avoid breakages - name: Run integration tests working-directory: test/init-scripts run: ./gradlew check diff --git a/.github/workflows/demo-pr-build-scan-comment.yml b/.github/workflows/demo-pr-build-scan-comment.yml index 8a0f0d2..af08629 100644 --- a/.github/workflows/demo-pr-build-scan-comment.yml +++ b/.github/workflows/demo-pr-build-scan-comment.yml @@ -15,7 +15,7 @@ jobs: working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew build --scan - name: "Add Build Scan URL as PR comment" - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/integ-test-action-inputs-caching.yml b/.github/workflows/integ-test-action-inputs-caching.yml index 4702229..ba4bed4 100644 --- a/.github/workflows/integ-test-action-inputs-caching.yml +++ b/.github/workflows/integ-test-action-inputs-caching.yml @@ -90,7 +90,7 @@ jobs: run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check Build Scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('No Build Scan detected') @@ -113,7 +113,7 @@ jobs: run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check Build Scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('No Build Scan detected') diff --git a/.github/workflows/integ-test-execution.yml b/.github/workflows/integ-test-execution.yml index a3b9499..ac29fd2 100644 --- a/.github/workflows/integ-test-execution.yml +++ b/.github/workflows/integ-test-execution.yml @@ -86,7 +86,7 @@ jobs: arguments: help -DgradleVersionCheck=${{matrix.gradle}} - name: Check Build Scan url if: ${{ !steps.gradle.outputs.build-scan-url }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('No Build Scan detected') diff --git a/.github/workflows/integ-test-inject-gradle-enterprise.yml b/.github/workflows/integ-test-inject-gradle-enterprise.yml index 4202526..dd4146c 100644 --- a/.github/workflows/integ-test-inject-gradle-enterprise.yml +++ b/.github/workflows/integ-test-inject-gradle-enterprise.yml @@ -54,7 +54,7 @@ jobs: run: gradle help - name: Check Build Scan url if: ${{ !steps.gradle.outputs.build-scan-url }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('No Build Scan detected') diff --git a/.github/workflows/integ-test-provision-gradle-versions.yml b/.github/workflows/integ-test-provision-gradle-versions.yml index 0e16281..77e7067 100644 --- a/.github/workflows/integ-test-provision-gradle-versions.yml +++ b/.github/workflows/integ-test-provision-gradle-versions.yml @@ -62,7 +62,7 @@ jobs: gradle-version: current - name: Check current version output parameter if: ${{ !startsWith(steps.gradle-current.outputs.gradle-version , '8.') }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('Gradle version parameter not set correctly: value was "${{ steps.gradle-current.outputs.gradle-version }}"') @@ -98,7 +98,7 @@ jobs: gradle-version: ${{ matrix.gradle }} - name: Check output parameter if: ${{ steps.setup-gradle.outputs.gradle-version != matrix.gradle }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('Gradle version parameter not set correctly: value was "${{ steps.setup-gradle.outputs.gradle-version }}"') @@ -108,7 +108,7 @@ jobs: run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check Build Scan url if: ${{ !steps.gradle.outputs.build-scan-url }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('No Build Scan detected') diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index 55a6ca3..bcd5e46 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -60,7 +60,7 @@ jobs: working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --configuration-cache - name: Check that configuration-cache was used - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const fs = require('fs') @@ -156,7 +156,7 @@ jobs: working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew test --configuration-cache - name: Check that configuration-cache was used - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const fs = require('fs')