Skip to content

Commit 627588c

Browse files
committed
Improve CI
* Remove redundant step * Fail job on error * Update action
1 parent 06b1e6a commit 627588c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/BuildPR.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@ jobs:
88
runs-on: macOS-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2.3.3
11+
uses: actions/checkout@v2.3.4
1212
with:
1313
fetch-depth: 0
1414
submodules: true
1515
- name: Set XCode Version
1616
run: sudo xcode-select -s /Applications/Xcode_12.2.app
1717
- name: Build project
18-
run: xcodebuild -workspace MGScopeBar.xcodeproj/project.xcworkspace -scheme MGScopeBar archive | xcpretty
19-
- name: Xcodebuild Action
20-
uses: sersoft-gmbh/xcodebuild-action@v1.1
21-
with:
22-
project: MGScopeBar.xcodeproj
23-
scheme: MGScopeBar
24-
configuration: Release
25-
action: archive
18+
run: set -o pipefail && xcodebuild -workspace MGScopeBar.xcodeproj/project.xcworkspace -scheme MGScopeBar archive | xcpretty
19+

0 commit comments

Comments
 (0)