Fix conditional using env namespace at job level

Issue gh-11158
This commit is contained in:
Steve Riesenberg 2022-05-16 12:13:25 -05:00
parent e6297d3bf7
commit 0c94cfca63
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
1 changed files with 1 additions and 2 deletions

View File

@ -10,12 +10,11 @@ env:
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
RUN_JOBS: ${{ github.repository == 'spring-projects/spring-security' }}
jobs:
release-next-version:
name: Initiate Release If Scheduled
if: env.RUN_JOBS == 'true'
if: ${{ github.repository == 'spring-projects/spring-security' }}
runs-on: ubuntu-latest
steps:
- id: checkout-source