From 7ebc1f8b8a5a7c2b921524b5e290d8598554cc91 Mon Sep 17 00:00:00 2001 From: daz Date: Mon, 28 Aug 2023 11:54:26 -0600 Subject: [PATCH] Pass GE access key to workflows --- .github/workflows/ci-full-check.yml | 2 ++ .github/workflows/ci-quick-check.yml | 2 ++ .github/workflows/integ-test-inject-gradle-enterprise.yml | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-full-check.yml b/.github/workflows/ci-full-check.yml index 819ec67..3fee091 100644 --- a/.github/workflows/ci-full-check.yml +++ b/.github/workflows/ci-full-check.yml @@ -48,6 +48,8 @@ jobs: uses: ./.github/workflows/integ-test-inject-gradle-enterprise.yml with: cache-key-prefix: ${{github.run_number}}- + secrets: + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} provision-gradle-versions: uses: ./.github/workflows/integ-test-provision-gradle-versions.yml diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index 1ae3fbb..0538617 100644 --- a/.github/workflows/ci-quick-check.yml +++ b/.github/workflows/ci-quick-check.yml @@ -77,6 +77,8 @@ jobs: with: runner-os: '["ubuntu-latest"]' download-dist: true + secrets: + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} provision-gradle-versions: needs: build-distribution diff --git a/.github/workflows/integ-test-inject-gradle-enterprise.yml b/.github/workflows/integ-test-inject-gradle-enterprise.yml index 8ac0307..8bc9995 100644 --- a/.github/workflows/integ-test-inject-gradle-enterprise.yml +++ b/.github/workflows/integ-test-inject-gradle-enterprise.yml @@ -11,6 +11,9 @@ on: download-dist: type: boolean default: false + secrets: + GRADLE_ENTERPRISE_ACCESS_KEY: + required: true env: DOWNLOAD_DIST: ${{ inputs.download-dist }} @@ -20,7 +23,7 @@ env: GRADLE_ENTERPRISE_URL: https://ge.solutions-team.gradle.com GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.14.1 GRADLE_ENTERPRISE_CCUD_PLUGIN_VERSION: 1.11.1 - GRADLE_ENTERPRISE_ACCESS_KEY: "XXX ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}" + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} jobs: inject-gradle-enterprise: