Skip to content

Commit

Permalink
fix: don't include build path in zip archives
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 30, 2024
1 parent 5fba654 commit 460d139
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Zip standalone archives
shell: bash
run: |
zip_cmd="zip -9"
zip_cmd="zip -9 -j"
if [[ ${{ contains(matrix.build.target, 'windows') }} == true ]]; then
zip_cmd="7z -mx9 a"
fi
Expand All @@ -185,8 +185,8 @@ jobs:
shell: bash
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
zip -9 -j libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-debian.zip ./build/packages/*.deb
zip -9 -j libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-rpm.zip ./build/packages/*.rpm
- name: Upload library archive
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 460d139

Please sign in to comment.