diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 630de1dc..4a3676d9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 -