diff --git a/.github/workflows/convention-develocity-gradle-plugin-verification.yml b/.github/workflows/convention-develocity-gradle-plugin-verification.yml index 0fbd25bb5..d143fc5eb 100644 --- a/.github/workflows/convention-develocity-gradle-plugin-verification.yml +++ b/.github/workflows/convention-develocity-gradle-plugin-verification.yml @@ -3,10 +3,10 @@ name: Verify Convention Develocity Gradle Plugin on: push: branches: [ main ] - paths: [ 'convention-develocity-gradle-plugin/**' ] + paths: [ 'convention-develocity-gradle-plugin/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'convention-develocity-gradle-plugin/**' ] + paths: [ 'convention-develocity-gradle-plugin/**', '.github/workflows/**' ] workflow_dispatch: jobs: @@ -80,13 +80,13 @@ jobs: ./gradlew wrapper --gradle-version=${{ matrix.versions.version }} --no-scan ./gradlew wrapper --gradle-version=${{ matrix.versions.version }} --no-scan env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - name: Verify example build id: build working-directory: convention-develocity-gradle-plugin/examples/gradle_${{ matrix.versions.sample }} run: ./gradlew build -Ddevelocity.url=https://ge.solutions-team.gradle.com env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - name: Verify Build Scan published if: ${{ !steps.build.outputs.build-scan-url }} run: echo "::error ::No Build Scan published"; exit 1 diff --git a/.github/workflows/convention-develocity-maven-extension-verification.yml b/.github/workflows/convention-develocity-maven-extension-verification.yml index 36015c157..4be93b8b6 100644 --- a/.github/workflows/convention-develocity-maven-extension-verification.yml +++ b/.github/workflows/convention-develocity-maven-extension-verification.yml @@ -3,10 +3,10 @@ name: Verify Convention Develocity Maven Extension on: push: branches: [ main ] - paths: [ 'convention-develocity-maven-extension/**' ] + paths: [ 'convention-develocity-maven-extension/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'convention-develocity-maven-extension/**' ] + paths: [ 'convention-develocity-maven-extension/**', '.github/workflows/**' ] workflow_dispatch: jobs: @@ -54,6 +54,8 @@ jobs: java-version: '8' distribution: 'temurin' cache: maven + - name: Set up Maven + uses: gradle/develocity-actions/maven-setup@v1.1 - name: Download extension uses: actions/download-artifact@v4 with: @@ -62,11 +64,15 @@ jobs: - name: Set Maven version if: ${{ matrix.versions.version != '(Current)' }} working-directory: convention-develocity-maven-extension/examples/maven_${{ matrix.versions.sample }} - run: ./mvnw wrapper:wrapper -Dmaven=${{ matrix.versions.version }} -Ddevelocity.url=https://ge.solutions-team.gradle.com + run: ./mvnw wrapper:wrapper -Dmaven=${{ matrix.versions.version }} -Ddevelocity.scan.disabled env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - name: Verify example build + id: build working-directory: convention-develocity-maven-extension/examples/maven_${{ matrix.versions.sample }} run: ./mvnw clean verify -Ddevelocity.url=https://ge.solutions-team.gradle.com env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} + - name: Verify Build Scan published + if: ${{ !steps.build.outputs.build-scan-url }} + run: echo "::error ::No Build Scan published"; exit 1 diff --git a/.github/workflows/gradle-data-capturing-samples-verification.yml b/.github/workflows/gradle-data-capturing-samples-verification.yml index dea8711f6..0adf60f3a 100644 --- a/.github/workflows/gradle-data-capturing-samples-verification.yml +++ b/.github/workflows/gradle-data-capturing-samples-verification.yml @@ -3,10 +3,10 @@ name: Verify Gradle Data Capturing Samples on: push: branches: [ main ] - paths: [ 'build-data-capturing-gradle-samples/**' ] + paths: [ 'build-data-capturing-gradle-samples/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'build-data-capturing-gradle-samples/**' ] + paths: [ 'build-data-capturing-gradle-samples/**', '.github/workflows/**' ] workflow_dispatch: jobs: diff --git a/.github/workflows/maven-build-caching-samples-verification.yml.disabled b/.github/workflows/maven-build-caching-samples-verification.yml.disabled index 03e59c882..0c4964414 100644 --- a/.github/workflows/maven-build-caching-samples-verification.yml.disabled +++ b/.github/workflows/maven-build-caching-samples-verification.yml.disabled @@ -3,10 +3,10 @@ name: Verify Maven Build Caching Samples on: push: branches: [ main ] - paths: [ 'build-caching-maven-samples/**' ] + paths: [ 'build-caching-maven-samples/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'build-caching-maven-samples/**' ] + paths: [ 'build-caching-maven-samples/**', '.github/workflows/**' ] workflow_dispatch: jobs: diff --git a/.github/workflows/maven-data-capturing-samples-verification.yml b/.github/workflows/maven-data-capturing-samples-verification.yml index 3487be744..e2b3d554f 100644 --- a/.github/workflows/maven-data-capturing-samples-verification.yml +++ b/.github/workflows/maven-data-capturing-samples-verification.yml @@ -3,10 +3,10 @@ name: Verify Maven Data Capturing Samples on: push: branches: [ main ] - paths: [ 'build-data-capturing-maven-samples/**' ] + paths: [ 'build-data-capturing-maven-samples/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'build-data-capturing-maven-samples/**' ] + paths: [ 'build-data-capturing-maven-samples/**', '.github/workflows/**' ] workflow_dispatch: jobs: diff --git a/.github/workflows/quarkus-build-caching-extension.yml b/.github/workflows/quarkus-build-caching-extension.yml index cefb6f1df..4e711d971 100644 --- a/.github/workflows/quarkus-build-caching-extension.yml +++ b/.github/workflows/quarkus-build-caching-extension.yml @@ -6,10 +6,10 @@ on: - cron: "0 9 * * 0" push: branches: [ main ] - paths: [ 'quarkus-build-caching-extension/**' ] + paths: [ 'quarkus-build-caching-extension/**', '.github/workflows/**' ] pull_request: branches: [ main ] - paths: [ 'quarkus-build-caching-extension/**' ] + paths: [ 'quarkus-build-caching-extension/**', '.github/workflows/**' ] workflow_dispatch: jobs: