Update GitHub Release workflow configuration
Some checks failed
Build / build (push) Failing after 2m2s
Some checks failed
Build / build (push) Failing after 2m2s
Upgrade action-gh-release to v2, add draft and prerelease flags, and simplify token configuration
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -57,12 +57,11 @@ jobs:
|
||||
path: build/*.deb
|
||||
|
||||
- name: Upload to GitHub Release
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: build/*.deb
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag_name: v1.0.0
|
||||
name: Release v1.0.0
|
||||
generate_release_notes: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: build/*.deb
|
||||
draft: true
|
||||
prerelease: true
|
Reference in New Issue
Block a user