Add refs/tags to tag check
This commit is contained in:
parent
d53171ea25
commit
4df20b0dae
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Create tag if it doesn't exist
|
||||
id: create
|
||||
run: |
|
||||
if git rev-parse "${{ steps.mlflow.outputs.mlflow }}"; then
|
||||
if git rev-parse "refs/tags/${{ steps.mlflow.outputs.mlflow }}" 2>/dev/null; then
|
||||
echo "Tag already exists"
|
||||
echo "created=false" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue