Skip to content

Commit 6bffc1f

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

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

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

0 commit comments

Comments
 (0)