mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 13:03:40 +08:00
Delete existing release asset before releasing
Use mknejp/delete-release-assets to delete existing asset. This approach might not be optimal if softprops/action-gh-release supports upserting [1]. [1] https://github.com/softprops/action-gh-release/pull/134
This commit is contained in:
parent
0fce98f6d2
commit
7ee66c559f
7
.github/workflows/generate_pdf.yml
vendored
7
.github/workflows/generate_pdf.yml
vendored
|
@ -15,6 +15,13 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: make all
|
||||
- name: Delete old release asset
|
||||
uses: mknejp/delete-release-assets@v1
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
fail-if-no-assets: false
|
||||
tag: latest
|
||||
assets: lkmpg.pdf
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user