mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-02 04:37:35 +03:00
fix(ci): statically build on artifacts
This commit is contained in:
parent
3e1718bfc9
commit
96ebfd2d3a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-artifacts.yaml
vendored
2
.github/workflows/build-artifacts.yaml
vendored
|
@ -55,7 +55,7 @@ jobs:
|
|||
run: echo "VERSION=$(cargo metadata --format-version 1 --no-deps | jq .packages[0].version -r | sed 's/^/v/')" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release --target ${{ matrix.target }}
|
||||
run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target ${{ matrix.target }}
|
||||
|
||||
- name: Package release
|
||||
run: tar czf redlib-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release/ redlib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue