gha: should've been doing this in a branch meh
This commit is contained in:
parent
6fcf0a77af
commit
5d5bccf1bb
1 changed files with 3 additions and 1 deletions
4
.github/workflows/c-cpp.yml
vendored
4
.github/workflows/c-cpp.yml
vendored
|
@ -98,7 +98,9 @@ jobs:
|
|||
if: ${{ github.event_name == 'push' }}
|
||||
steps:
|
||||
- name: Remove old release
|
||||
run: gh release delete -y --cleanup-tag ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
gh release delete -y --cleanup-tag ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Fetch artifacts
|
||||
|
|
Loading…
Add table
Reference in a new issue