File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [ main ]
4+ jobs :
5+ build :
6+ runs-on : [ self-hosted, macOS, ARM64 ]
7+ steps :
8+ - uses : actions/checkout@v3
9+
10+ - name : Setup Rust Toolchain
11+ uses : ATiltedTree/setup-rust@v1
12+ with :
13+ rust-version : stable
14+
15+ - name : Build
16+ run : cargo build --release
17+
18+ - name : Upload Artifact
19+ uses : actions/upload-artifact@v3
20+ with :
21+ name : swift-precompiler
22+ path : target/release/swift-precompiler
23+
24+ - uses : sarisia/actions-status-discord@v1
25+ if : always()
26+ with :
27+ webhook : ${{ secrets.DISCORD_WEBHOOK }}
28+ status : ${{ job.status }}
29+ title : " deploy"
30+ description : " Build swift-precompiler"
31+ url : " https://github.com/ciderapp/swift-precompiler/actions"
32+ username : GitHub Actions
33+ avatar_url : " https://avatars.githubusercontent.com/u/87914859?s=200&v=4"
You can’t perform that action at this time.
0 commit comments