Skip to content

Commit 153943e

Browse files
committed
Unity Build only on default branch
Otherwise it's unable to get the credentials it needs
1 parent 8288da7 commit 153943e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/BitMono.Build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
UnityPackage:
8989
runs-on: ubuntu-latest
90-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
90+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'create' && github.event.ref_type == 'tag')
9191
strategy:
9292
matrix:
9393
# Note:

0 commit comments

Comments
 (0)