diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 11e09f00..c82798a1 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -20,7 +20,9 @@ jobs: id: tag_exists run: | set -x - [ "$(git tag -l "${TAG}")" = "${TAG}" ] && exists=true || exists=false + exists=false + [ "$(git tag -l "${TAG}")" = "${TAG}" ] && exists=true + [ "$(git tag -l "nightly-${TAG}")" = "nightly-${TAG}" ] && exists=true echo "::set-output name=result::${exists}" env: TAG: ${{ steps.git_tag.outputs.tag }}