gha: should've been doing this in a branch meh

This commit is contained in:
Alibek Omarov 2024-08-12 09:53:45 +03:00
parent 6fcf0a77af
commit 5d5bccf1bb
1 changed files with 3 additions and 1 deletions

View File

@ -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