File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -120,11 +120,20 @@ jobs:
120120 if : runner.os != 'Windows'
121121 run : |
122122 if [ "${{ matrix.target }}" != "aarch64-apple-darwin" ]; then
123- if [ -n "${{ matrix.linker }}" ]; then
124- ${{ matrix.target }}-strip target/${{ matrix.target }}/release/bping
125- else
126- strip target/${{ matrix.target }}/release/bping
127- fi
123+ case "${{ matrix.target }}" in
124+ "aarch64-unknown-linux-gnu")
125+ aarch64-linux-gnu-strip target/${{ matrix.target }}/release/bping
126+ ;;
127+ "arm-unknown-linux-gnueabi")
128+ arm-linux-gnueabi-strip target/${{ matrix.target }}/release/bping
129+ ;;
130+ "armv7-unknown-linux-gnueabihf")
131+ arm-linux-gnueabihf-strip target/${{ matrix.target }}/release/bping
132+ ;;
133+ *)
134+ strip target/${{ matrix.target }}/release/bping
135+ ;;
136+ esac
128137 fi
129138
130139 - name : Upload binaries to release
You can’t perform that action at this time.
0 commit comments