Skip to content

Commit

Permalink
ci: build static binaries in release
Browse files Browse the repository at this point in the history
Signed-off-by: Chuanhong Guo <[email protected]>
  • Loading branch information
981213 committed Feb 29, 2024
1 parent de51592 commit 6c953ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Build Binary
run: cargo build --verbose --locked --release --target ${{ matrix.target }}
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --verbose --locked --release --target ${{ matrix.target }}

- name: Build archive
shell: bash
Expand Down

0 comments on commit 6c953ed

Please sign in to comment.