Add GitHub Release upload to build workflow
Some checks failed
Build / build (push) Failing after 3m4s

Configure automatic GitHub Release creation for Debian package when pushing to master branch, including version tagging and release notes generation
This commit is contained in:
2025-01-28 05:28:57 +00:00
parent d48053750c
commit 0c3f21f16b

View File

@@ -54,4 +54,15 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cpu-check-deb
path: build/*.deb
path: build/*.deb
- name: Upload to GitHub Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v1
with:
files: build/*.deb
tag_name: v1.0.0
name: Release v1.0.0
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}