Skip to content

Commit

Permalink
fix: conditional for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 28, 2024
1 parent 74b6a30 commit 66a6c26
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 @@ -160,9 +160,13 @@ jobs:
cpack -G RPM
# Download artifacts client unzips the archive when it downloads, so we double zip, to fulfill expectation of the publish-* actions
- name: Zip archives
- name: Zip standalone archives
run: |
zip -9 zenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-standalone.zip ./build/packages/*.zip
- name: Zip deb/rpm archives
if: ${{ contains(matrix.build.target, 'linux') }}
run: |
zip -9 libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-debian.zip ./build/packages/*.deb
zip -9 libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-rpm.zip ./build/packages/*.rpm
Expand Down

0 comments on commit 66a6c26

Please sign in to comment.