Skip to content

Commit

Permalink
chore(ci): set profile.release.strip = true in the release CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yvt committed Sep 10, 2022
1 parent 41e5737 commit f836fa9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ jobs:
command: test
args: --release --locked --target ${{ matrix.target }} --workspace

- name: Set profile.release.strip = true
run: |
cat >> .cargo/config.toml <<EOF
[profile.release]
strip = true
EOF
- name: Build release binary
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit f836fa9

Please sign in to comment.