Skip to content

Commit 12c532a

Browse files
committed
Update tests workflow to only run against main branch
1 parent 2af3392 commit 12c532a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Tests
22

3-
on: push
3+
on:
4+
# Currently tests can only be ran against main branch because of how
5+
# Test project is set up. See Samples\ExampleUnityProject\Packages\manifest.json
6+
# Package is always cloned from the main branch for tests
7+
push:
8+
branches:
9+
- main
410

511
env:
612
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

0 commit comments

Comments
 (0)