Skip to content

Commit 9e3e5dd

Browse files
author
replicadse
committed
update
1 parent 2daf7af commit 9e3e5dd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-C", "target-feature=+crt-static"]

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cargo login ${{ secrets.CRATES_IO_TOKEN }}
4444
sed 's/version = "0.0.0"/version = "'${{ needs.version.outputs.version }}'"/g' Cargo.toml > Cargo.toml.tmp
4545
mv Cargo.toml.tmp Cargo.toml
46-
cargo publish --allow-dirty
46+
cargo publish --target=x86_64-unknown-linux-gnu --allow-dirty
4747
4848
deb:
4949
name: "deb"
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
sed 's/version = "0.0.0"/version = "'${{ needs.version.outputs.version }}'"/g' Cargo.toml > Cargo.toml.tmp
6666
mv Cargo.toml.tmp Cargo.toml
67-
cargo deb
67+
cargo deb --target=x86_64-unknown-linux-gnu
6868
- name: Upload Release Asset
6969
id: upload-release-asset
7070
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)