Skip to content

Commit 321fb4e

Browse files
committed
chore(ci): set profile.release.strip = true in the release CI workflow
1 parent 5c8b49b commit 321fb4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,14 @@ jobs:
133133
command: test
134134
args: --release --locked --target ${{ matrix.target }} --workspace
135135

136+
- name: Set profile.release.strip = true
137+
shell: bash
138+
run: |
139+
cat >> .cargo/config.toml <<EOF
140+
[profile.release]
141+
strip = true
142+
EOF
143+
136144
- name: Build release binary
137145
uses: actions-rs/cargo@v1
138146
with:

0 commit comments

Comments
 (0)