fix(ci): statically build on artifacts
This commit is contained in:
parent
3e1718bfc9
commit
96ebfd2d3a
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…
Reference in New Issue
Block a user