diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84db6c4..1b6a5e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,3 +71,20 @@ jobs: path: | *_amd64.deb *.x86_64.rpm + + release: + runs-on: ubuntu-latest + needs: nfpm + steps: + - name: Download Prometheus Artifacts + uses: actions/download-artifact@v3 + with: + name: packages + + - name: Upload to release + uses: pyTooling/Actions/releaser@r0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + files: | + *.deb + *.rpm