Add GitHub Release upload to build workflow
Some checks failed
Build / build (push) Failing after 3m4s
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:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -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 }}
|
Reference in New Issue
Block a user