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:
|
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
|
||||||
|
2
.github/workflows/generate-toc.yml
vendored
2
.github/workflows/generate-toc.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user