diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 4507582..79e4b5d 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -49,9 +49,14 @@ jobs: working-directory: ${{ github.workspace }}/build run: cmake --install . --config ${{ matrix.build_type }} --prefix install + - if: matrix.os != 'windows' + name: Tar files + working-directory: ${{ github.workspace }}/build + run: tar -cvf package.tar -C install . + - name: Upload uses: actions/upload-artifact@v4 with: name: package-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build_type }} - path: ${{ github.workspace }}/build/install + path: ${{ github.workspace }}/build/${{ matrix.os == 'windows' && 'install' || 'package.tar' }} retention-days: 6