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-15
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : select xcode
17+ run : sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
18+
19+ - name : build tome.app
20+ run : |
21+ xcodebuild \
22+ -project Tome.xcodeproj \
23+ -scheme Tome \
24+ -configuration Release \
25+ -derivedDataPath build/DerivedData \
26+ SYMROOT=build \
27+ CODE_SIGN_IDENTITY="-" \
28+ CODE_SIGNING_REQUIRED=NO \
29+ CODE_SIGNING_ALLOWED=NO \
30+ build
31+
32+ - name : build tomehelper
33+ run : |
34+ xcodebuild \
35+ -project Tome.xcodeproj \
36+ -scheme TomeHelper \
37+ -configuration Release \
38+ -derivedDataPath build/DerivedData \
39+ SYMROOT=build \
40+ CODE_SIGN_IDENTITY="-" \
41+ CODE_SIGNING_REQUIRED=NO \
42+ CODE_SIGNING_ALLOWED=NO \
43+ build
44+
45+ - name : package artifacts
46+ run : |
47+ mkdir -p artifacts
48+ cp -R build/Release/Tome.app artifacts/
49+ cp build/Release/TomeHelper artifacts/
50+ cd artifacts && zip -r ../Tome-${{ github.sha }}.zip .
51+
52+ - name : upload artifact
53+ uses : actions/upload-artifact@v4
54+ with :
55+ name : tome-${{ github.sha }}
56+ path : Tome-${{ github.sha }}.zip
57+ retention-days : 30
You can’t perform that action at this time.
0 commit comments