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 : Create Linux Arm64 binary for testing
2+
3+ on :
4+ push :
5+ branches :
6+ - " test/*"
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-24.04-arm
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Install Rust
17+ uses : dtolnay/rust-toolchain@stable
18+
19+ - name : Build release binary
20+ run : cargo build --release --workspace
21+
22+ - name : Rename binaries
23+ run : |
24+ mkdir dist
25+ mv target/release/null-talk-client dist/null-talk-client-linux-arm64
26+ mv target/release/null-talk-server dist/null-talk-server-linux-arm64
27+
28+ - name : Upload Build to Server
29+ uses : appleboy/scp-action@v0.1.7
30+ with :
31+ host : ${{ secrets.HOST }}
32+ username : ${{ secrets.USERNAME }}
33+ key : ${{ secrets.PRIVATE_KEY }}
34+ source : " dist"
35+ target : ${{ secrets.TARGET_PATH }}
You can’t perform that action at this time.
0 commit comments