From 02d16c61e63d9f3e75c5113f206167f6f7381dfe Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 25 Apr 2024 17:02:39 +0100 Subject: [PATCH] Update environment variables for Develocity transition See gh-928 --- .github/workflows/build-and-deploy-snapshot.yml | 3 +-- .github/workflows/build.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index ddb44c74..893ad901 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -29,8 +29,7 @@ jobs: echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties - name: Build and Publish env: - GRADLE_ENTERPRISE_URL: 'https://ge.spring.io' - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} run: ./gradlew --refresh-dependencies -PdeploymentRepository=$(pwd)/distribution-repository build publishAllPublicationsToDeploymentRepository - name: Deploy uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c9387c0..ef9f35d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,5 @@ jobs: echo 'org.gradle.daemon=false' >> $HOME/.gradle/gradle.properties - name: Build env: - GRADLE_ENTERPRISE_URL: 'https://ge.spring.io' - GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} + DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} run: ./gradlew --refresh-dependencies build