diff options
author | Matan Kushner <hello@matchai.me> | 2019-11-13 10:50:57 +0900 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-11-13 10:58:56 +0900 |
commit | f6c6f93b1b7026c81088f3d387b1a4520b1d9d8b (patch) | |
tree | 075a1bcddabfcc92984d03723676ce89a95f0620 /.github | |
parent | 9f0862efb8569711edb7505c36fc01ea9c2edcf7 (diff) |
ci: Remove nesting from within release archives
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/workflow.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 115d95eca..0b11aa696 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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' |