mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56: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
|
- name: Prepare build artifacts
|
||||||
run: |
|
run: |
|
||||||
strip target/${{ matrix.target }}/release/starship
|
|
||||||
cd target/${{ matrix.target }}/release
|
|
||||||
if [[ "${{ matrix.os }}" == "windows-latest" ]]
|
if [[ "${{ matrix.os }}" == "windows-latest" ]]
|
||||||
then
|
then
|
||||||
|
strip target/${{ matrix.target }}/release/starship.exe
|
||||||
|
cd target/${{ matrix.target }}/release
|
||||||
7z a ../../../${{ matrix.name }} starship.exe
|
7z a ../../../${{ matrix.name }} starship.exe
|
||||||
else
|
else
|
||||||
|
strip target/${{ matrix.target }}/release/starship
|
||||||
|
cd target/${{ matrix.target }}/release
|
||||||
tar czvf ../../../${{ matrix.name }} starship
|
tar czvf ../../../${{ matrix.name }} starship
|
||||||
fi
|
fi
|
||||||
cd -
|
cd -
|
||||||
|
Loading…
Reference in New Issue
Block a user