Revert "Run strip as a separate step in job build"

This reverts commit 8bdd089775.
This commit is contained in:
Jiahao XU 2022-05-31 17:30:50 +10:00
parent 8bdd089775
commit a378be8bc6
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -100,10 +100,6 @@ jobs:
- name: Copy and rename utility
run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}
- name: Strip the executable
if: ${{ matrix.os != 'windows-latest' }}
run: strip ${{ matrix.output }}
- name: Create archive (tgz, linux)
if: ${{ matrix.os != 'macos-latest' && matrix.os != 'windows-latest' }}
run: tar -czvf cargo-binstall-${{ matrix.target }}.tgz ${{ matrix.output }}