From bd3d4b02467ca7249d40c21daa44c980102ff45b Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 10 Apr 2024 05:47:43 -0600 Subject: [PATCH] Check for secrets when running tests that require them --- .github/workflows/ci-quick-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index bdafe89..d458466 100644 --- a/.github/workflows/ci-quick-check.yml +++ b/.github/workflows/ci-quick-check.yml @@ -93,6 +93,7 @@ jobs: runner-os: '["ubuntu-latest"]' develocity-injection: + if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }} needs: build-distribution uses: ./.github/workflows/integ-test-inject-develocity.yml with: @@ -107,6 +108,7 @@ jobs: runner-os: '["ubuntu-latest"]' restore-configuration-cache: + if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }} needs: build-distribution uses: ./.github/workflows/integ-test-restore-configuration-cache.yml with: