mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
ci: Fix release conflict with nightly
This commit is contained in:
parent
0a8d37c1ed
commit
11d4511bc8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build_push.yml
vendored
4
.github/workflows/build_push.yml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
|||
|
||||
# NIGHTLY
|
||||
- name: Prepare nightly build
|
||||
if: steps.branch_name.outputs.name == 'master'
|
||||
if: steps.branch_name.outputs.name == 'master' && github.event.inputs.version == ''
|
||||
run: |
|
||||
set -x
|
||||
echo "VERSION_TAG=r$(git rev-list --count HEAD)" >> $GITHUB_ENV
|
||||
|
@ -180,4 +180,4 @@ jobs:
|
|||
if: startsWith(env.VERSION_TAG, 'r') && env.PREV_TAG != ''
|
||||
run: gh release delete ${{ env.PREV_TAG }} --cleanup-tag
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue