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:
docker-buildx:
if: github.repository == 'itzg/minecraft-server'
if: ${{ github.repository == 'itzg/minecraft-server' }}
runs-on: ubuntu-20.04
env:
CACHE_NAME: master

View File

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