Skip to content

Commit

Permalink
ci: Fix release conflict with nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Jan 14, 2024
1 parent 0a8d37c commit 11d4511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit 11d4511

Please sign in to comment.