diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index fed10ed..5a03dba 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -13,8 +13,8 @@ jobs: java-version: '11' distribution: 'temurin' - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 + with: + develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - run: ./gradlew build - env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} diff --git a/.github/workflows/gradle-release.yml b/.github/workflows/gradle-release.yml index 2d1908f..36eaa86 100644 --- a/.github/workflows/gradle-release.yml +++ b/.github/workflows/gradle-release.yml @@ -31,12 +31,12 @@ jobs: distribution: 'temurin' - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 + with: + develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - name: Generate reference script with version run: ./gradlew promote -Pversion=${{ inputs.version }} - env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} - name: Commit & push changes uses: stefanzweifel/git-auto-commit-action@v5