mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
ci: used ${{ }} syntax in job conditional
This commit is contained in:
parent
6f2f1174e6
commit
33b48a8a4b
2
.github/workflows/build-multiarch.yml
vendored
2
.github/workflows/build-multiarch.yml
vendored
@ -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
|
||||
|
2
.github/workflows/generate-toc.yml
vendored
2
.github/workflows/generate-toc.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user