diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb67b9c14..0c85b2833 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,21 +157,21 @@ jobs: - name: Upload library archive uses: actions/upload-artifact@v4 with: - name: zenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-standalone.zip + name: zenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-standalone path: ./build/packages/*.zip - name: Upload DEB archive - if: ${{ matrix.build.os == 'ubuntu-20.04' }} + if: ${{ contains(matrix.build.target, 'linux') }} uses: actions/upload-artifact@v4 with: - name: libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-debian.zip + name: libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-debian path: ./build/packages/*.deb - name: Upload RPM archive - if: ${{ matrix.build.os == 'ubuntu-20.04' }} + if: ${{ contains(matrix.build.target, 'linux') }} uses: actions/upload-artifact@v4 with: - name: libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-rpm.zip + name: libzenohc-${{ inputs.version || '0.0.0' }}-${{ matrix.build.target }}-rpm path: ./build/packages/*.rpm debian: