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 5c8b49b commit 6bffc1f
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 @@ -133,6 +133,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 6bffc1f

Please sign in to comment.