Skip to content

Commit

Permalink
fix: account for lack of zip.exe on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 28, 2024
1 parent ba804cc commit 4382f78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,11 @@ jobs:
- name: Zip standalone archives
shell: bash
run: |
zip -9 zenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-standalone.zip ./build/packages/*.zip
zip_cmd="zip"
if [[ ${{ contains(matrix.build.target, 'windows') }} == true ]]; then
zip_cmd="7z"
fi
${zip_cmd} -9 zenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-standalone.zip ./build/packages/*.zip
- name: Zip deb/rpm archives
shell: bash
Expand Down

0 comments on commit 4382f78

Please sign in to comment.