Skip to content

Commit 8bcc337

Browse files
committed
Update build_app.yml
Signed-off-by: Joseph Mattello <mail@joemattiello.com>
1 parent 8616414 commit 8bcc337

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/build_app.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
name: build_app
1+
name: Build .app
22

3-
on: [push, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
pull_request:
9+
workflow_dispatch:
410

511
env:
612
SCHEME: AltServer
7-
13+
814
jobs:
915
master_deploy:
1016
runs-on: macos-latest
@@ -13,11 +19,11 @@ jobs:
1319
- name: Checkout project
1420
uses: actions/checkout@v2
1521
with:
16-
submodules: recursive
17-
22+
submodules: recursive
23+
1824
- name: Set environment variables from project settings
1925
run: |
20-
function set-env-from-proj {
26+
function set-env-from-proj {
2127
echo "$1=$(xcodebuild -scheme "AltServer" -showBuildSettings | grep " $1 " | sed "s/[ ]*$1 = //")" >> $GITHUB_ENV
2228
}
2329
set-env-from-proj FULL_PRODUCT_NAME

0 commit comments

Comments
 (0)