Skip to content

Commit

Permalink
ci: compress based on extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Dec 17, 2023
1 parent 8477690 commit 87d3710
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ jobs:
strip trunk${{matrix.ext}}
ls -l trunk${{matrix.ext}}
- name: Post Build | Prepare artifacts [Windows]
if: matrix.os == 'windows-latest'
- name: Post Build | Prepare artifacts [zip]
if: endsWith(matrix.name, '.zip')
working-directory: upload
run: |
7z a ${{ matrix.name }} trunk${{matrix.ext}}
- name: Post Build | Prepare artifacts [-nix]
if: matrix.os != 'windows-latest'
- name: Post Build | Prepare artifacts [tar.gz]
if: endsWith(matrix.name, '.tar.gz')
working-directory: upload
run: |
tar czvf ${{ matrix.name }} trunk${{matrix.ext}}
Expand Down

0 comments on commit 87d3710

Please sign in to comment.