Fix conditional using env namespace at job level
Issue gh-11158
This commit is contained in:
parent
e6297d3bf7
commit
0c94cfca63
|
@ -10,12 +10,11 @@ env:
|
||||||
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
||||||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
||||||
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
||||||
RUN_JOBS: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-next-version:
|
release-next-version:
|
||||||
name: Initiate Release If Scheduled
|
name: Initiate Release If Scheduled
|
||||||
if: env.RUN_JOBS == 'true'
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- id: checkout-source
|
- id: checkout-source
|
||||||
|
|
Loading…
Reference in New Issue