ci: used ${{ }} syntax in job conditional

This commit is contained in:
Geoff Bourne 2021-06-23 21:09:20 -05:00
parent 6f2f1174e6
commit 33b48a8a4b
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ on:
jobs: jobs:
docker-buildx: docker-buildx:
if: github.repository == 'itzg/minecraft-server' if: ${{ github.repository == 'itzg/minecraft-server' }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env: env:
CACHE_NAME: master CACHE_NAME: master

View File

@ -7,7 +7,7 @@ on:
- README.md - README.md
jobs: jobs:
generate: generate:
if: github.repository == 'itzg/minecraft-server' if: ${{ github.repository == 'itzg/minecraft-server' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
steps: steps: