File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : macos-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Select Xcode
17+ run : sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
18+
19+ - name : Build
20+ run : |
21+ xcodebuild archive \
22+ -scheme NetworkStatusBar \
23+ -configuration Release \
24+ -archivePath ${{ runner.temp }}/NetworkStatusBar.xcarchive \
25+ CODE_SIGN_IDENTITY="-" \
26+ CODE_SIGNING_REQUIRED=NO \
27+ CODE_SIGNING_ALLOWED=NO
28+
29+ - name : Export app
30+ run : |
31+ cp -R "${{ runner.temp }}/NetworkStatusBar.xcarchive/Products/Applications/NetworkStatusBar.app" \
32+ "${{ runner.temp }}/NetworkStatusBar.app"
33+
34+ - name : Upload artifact
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : NetworkStatusBar
38+ path : ${{ runner.temp }}/NetworkStatusBar.app
You can’t perform that action at this time.
0 commit comments