mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 07:46:28 +00:00
ci: Fix stripping artifact on Windows
This commit is contained in:
parent
f2031e7d00
commit
47268a64e7
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@ -231,12 +231,14 @@ jobs:
|
||||
|
||||
- name: Prepare build artifacts
|
||||
run: |
|
||||
strip target/${{ matrix.target }}/release/starship
|
||||
cd target/${{ matrix.target }}/release
|
||||
if [[ "${{ matrix.os }}" == "windows-latest" ]]
|
||||
then
|
||||
strip target/${{ matrix.target }}/release/starship.exe
|
||||
cd target/${{ matrix.target }}/release
|
||||
7z a ../../../${{ matrix.name }} starship.exe
|
||||
else
|
||||
strip target/${{ matrix.target }}/release/starship
|
||||
cd target/${{ matrix.target }}/release
|
||||
tar czvf ../../../${{ matrix.name }} starship
|
||||
fi
|
||||
cd -
|
||||
|
Loading…
Reference in New Issue
Block a user