Skip to content

Commit 5470d75

Browse files
committed
Workflows
1 parent f835c42 commit 5470d75

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
- release/*
87
pull_request:
8+
workflow_dispatch: # e.g. to manually trigger on foreign PRs
99

1010
env:
1111
UNITY_VERSION: '6000.1.12f1'
@@ -76,4 +76,9 @@ jobs:
7676
with:
7777
name: Build-${{ matrix.targetPlatform }}
7878
path: build
79-
retention-days: 14
79+
retention-days: 14
80+
81+
run-demo:
82+
name: Run Demo
83+
needs: [build]
84+
uses: ./.github/workflows/run-demo.yml

.github/workflows/run-demo.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
name: Run Windows Build
22

33
on:
4-
workflow_run:
5-
workflows: ["Build Sentaur Survivors"]
6-
types:
7-
- completed
4+
workflow_call:
85
workflow_dispatch:
9-
push:
10-
branches: [ main, develop ]
11-
pull_request:
12-
branches: [ main ]
136

147
jobs:
158
test-windows:

0 commit comments

Comments
 (0)