File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 profile : minimal
4545 target : ${{ matrix.target }}
4646
47- - name : Build release binary
47+ - name : Build release binary (ARM Linux native)
48+ if : matrix.target == 'aarch64-unknown-linux-gnu'
49+ run : |
50+ cargo install cross --git https://github.com/cross-rs/cross
51+ cross build --release --target ${{ matrix.target }}
52+
53+ - name : Build release binary (cross-compile)
54+ if : matrix.target != 'aarch64-unknown-linux-gnu'
4855 run : cargo build --release --target ${{ matrix.target }}
4956
5057 - name : Rename binary
6572 - name : Checkout code
6673 uses : actions/checkout@v4
6774 - name : Package source code
68- run : tar czvf vipyrdocs-source.tar.gz .
75+ uses : a7ul/tar-action@v1.2.0
76+ with :
77+ command : c
78+ cwd : ./
79+ files : |
80+ src/
81+ Cargo.toml
82+ Cargo.lock
83+ README.md
84+ outPath : vipyrdocs-source.tar.gz
85+
6986 - name : Upload source tarball
7087 uses : actions/upload-artifact@v4
7188 with :
You can’t perform that action at this time.
0 commit comments