name: Package on: push: tags: - "v*.*.*" jobs: # Debian package ubuntu: name: Package runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Configure run: cmake -B build -DCPACK_GENERATOR=DEB -DCMAKE_BUILD_TYPE=Release . - name: Package id: package run: | cmake --build build --target package echo 'ASSETS<> $GITHUB_OUTPUT /bin/ls -1 build/*.deb >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: files: ${{ steps.package.outputs.ASSETS }}