forked from lthn/blockchain
Add conditional check for alpha and beta versions
the tag + release deleting only happens for -alpha or -beta
This commit is contained in:
parent
d8d81c1f2e
commit
c2c130a076
1 changed files with 1 additions and 0 deletions
1
.github/workflows/_on-pr.yml
vendored
1
.github/workflows/_on-pr.yml
vendored
|
|
@ -28,6 +28,7 @@ jobs:
|
|||
run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Delete Release and Tag
|
||||
if: contains(steps.get_version.outputs.VERSION, '-alpha') || contains(steps.get_version.outputs.VERSION, '-beta')
|
||||
uses: dev-drprasad/delete-older-releases@v0.3.4
|
||||
with:
|
||||
keep_latest: 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue