File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 token : ${{ secrets.BUILD_TOKEN }}
2323
2424 - uses : dtolnay/rust-toolchain@stable
25- with :
26- targets : x86_64-unknown-linux-musl
2725
28- - run : sudo apt-get install -y musl-tools perl make
26+ - run : sudo apt-get install -y libssl-dev pkg-config
2927
3028 - uses : actions/cache@v4
3129 with :
@@ -35,15 +33,10 @@ jobs:
3533 target
3634 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3735
38- - name : Build static binary
39- env :
40- OPENSSL_STATIC : " 1"
41- OPENSSL_VENDORED : " 1"
36+ - name : Build binary
4237 run : |
43- cargo build --release --bin vramhub-validator \
44- --target x86_64-unknown-linux-musl
45- cp target/x86_64-unknown-linux-musl/release/vramhub-validator \
46- vram-validator-linux-x86_64
38+ cargo build --release --bin vramhub-validator
39+ cp target/release/vramhub-validator vram-validator-linux-x86_64
4740
4841 - name : Release
4942 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments