mirror of
https://github.com/starship/starship.git
synced 2024-11-23 00:33:16 +01:00
ci: Remove nesting from within release archives
This commit is contained in:
parent
9f0862efb8
commit
f6c6f93b1b
12
.github/workflows/workflow.yml
vendored
12
.github/workflows/workflow.yml
vendored
@ -216,14 +216,18 @@ jobs:
|
||||
- name: Prepare build artifacts [Windows]
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
strip target/${{ matrix.target }}/release/starship.exe
|
||||
7z a ${{ matrix.name }} target/${{ matrix.target }}/release/starship.exe
|
||||
cd target/${{ matrix.target }}/release
|
||||
strip starship.exe
|
||||
7z a ../../../${{ matrix.name }} starship.exe
|
||||
cd -
|
||||
|
||||
- name: Prepare build artifacts [-nix]
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: |
|
||||
strip target/${{ matrix.target }}/release/starship
|
||||
tar czvf ${{ matrix.name }} target/${{ matrix.target }}/release/starship
|
||||
cd target/${{ matrix.target }}/release
|
||||
strip starship
|
||||
tar czvf ../../../${{ matrix.name }} starship
|
||||
cd -
|
||||
|
||||
- name: Generate release notes
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
|
Loading…
Reference in New Issue
Block a user