mirror of https://github.com/FabricMC/yarn.git
Only run publish github action if repo owner is fabricmc (#2699)
* Only do publish if owner is fabric Signed-off-by: liach <liach@users.noreply.github.com> * Fix job name, closes #2698 Signed-off-by: liach <liach@users.noreply.github.com> Co-authored-by: liach <liach@users.noreply.github.com>
This commit is contained in:
parent
544daf01e8
commit
0f92f13aa1
|
@ -2,7 +2,8 @@ name: Publish
|
|||
on: [push]
|
||||
concurrency: ci-${{ github.ref }}
|
||||
jobs:
|
||||
build:
|
||||
publish:
|
||||
if: ${{ github.repository_owner == 'FabricMC' }}
|
||||
runs-on: ubuntu-20.04
|
||||
container:
|
||||
image: openjdk:17-jdk
|
||||
|
|
Loading…
Reference in New Issue