mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 19:40:20 +00: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]
|
- name: Prepare build artifacts [Windows]
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
strip target/${{ matrix.target }}/release/starship.exe
|
cd target/${{ matrix.target }}/release
|
||||||
7z a ${{ matrix.name }} target/${{ matrix.target }}/release/starship.exe
|
strip starship.exe
|
||||||
|
7z a ../../../${{ matrix.name }} starship.exe
|
||||||
|
cd -
|
||||||
|
|
||||||
- name: Prepare build artifacts [-nix]
|
- name: Prepare build artifacts [-nix]
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
strip target/${{ matrix.target }}/release/starship
|
cd target/${{ matrix.target }}/release
|
||||||
tar czvf ${{ matrix.name }} target/${{ matrix.target }}/release/starship
|
strip starship
|
||||||
|
tar czvf ../../../${{ matrix.name }} starship
|
||||||
|
cd -
|
||||||
|
|
||||||
- name: Generate release notes
|
- name: Generate release notes
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
Loading…
Reference in New Issue
Block a user