Check for secrets when running tests that require them

This commit is contained in:
daz 2024-04-10 05:47:43 -06:00
parent 667e034cd9
commit bd3d4b0246
No known key found for this signature in database

View file

@ -93,6 +93,7 @@ jobs:
runner-os: '["ubuntu-latest"]' runner-os: '["ubuntu-latest"]'
develocity-injection: develocity-injection:
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
needs: build-distribution needs: build-distribution
uses: ./.github/workflows/integ-test-inject-develocity.yml uses: ./.github/workflows/integ-test-inject-develocity.yml
with: with:
@ -107,6 +108,7 @@ jobs:
runner-os: '["ubuntu-latest"]' runner-os: '["ubuntu-latest"]'
restore-configuration-cache: restore-configuration-cache:
if: ${{ vars.HAS_GRADLE_ACTIONS_SECRETS == 'true' }}
needs: build-distribution needs: build-distribution
uses: ./.github/workflows/integ-test-restore-configuration-cache.yml uses: ./.github/workflows/integ-test-restore-configuration-cache.yml
with: with: