Skip to content

Commit

Permalink
Add dedicate release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oauth2 committed Nov 30, 2023
1 parent 8def3bf commit 555dcd0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: release
run-name: Release Packages
on:
push:
tags:
- v*
jobs:
build-packages-workflow:
uses: ./.github/workflows/build.yml

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

0 comments on commit 555dcd0

Please sign in to comment.