Skip to content

Commit f836fa9

Browse files
committed
chore(ci): set profile.release.strip = true in the release CI workflow
1 parent 41e5737 commit f836fa9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ jobs:
116116
command: test
117117
args: --release --locked --target ${{ matrix.target }} --workspace
118118

119+
- name: Set profile.release.strip = true
120+
run: |
121+
cat >> .cargo/config.toml <<EOF
122+
[profile.release]
123+
strip = true
124+
EOF
125+
119126
- name: Build release binary
120127
uses: actions-rs/cargo@v1
121128
with:

0 commit comments

Comments
 (0)