Skip to content

Commit

Permalink
fix(ci): statically build on artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
sigaloid committed Nov 19, 2024
1 parent 3e1718b commit 96ebfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96ebfd2

Please sign in to comment.