Skip to content

Commit 5d187d6

Browse files
authored
fix(ci): skip strip for cross-compiled binaries (#12)
1 parent bd9a16c commit 5d187d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ jobs:
128128
fi
129129
shell: bash
130130

131-
- name: Strip binary (Linux/macOS)
132-
if: matrix.os != 'windows-latest'
131+
- name: Strip binary (Linux/macOS, native only)
132+
if: matrix.os != 'windows-latest' && !matrix.use_cross
133133
run: strip target/${{ matrix.target }}/release/${{ steps.binary.outputs.name }}
134134

135135
- name: Create archive (Unix)

0 commit comments

Comments
 (0)