Update if statement
Create mlflow tag / Create mlflow tag (push) Successful in 5s Details

This commit is contained in:
LordMathis 2024-01-31 12:15:11 +01:00
parent 672f896a6a
commit 587d81e672
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ jobs:
run: echo "mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)" >> $GITHUB_OUTPUT
- name: Create tag if it doesn't exist
run: |
if [[ $(git tag -l "${{ steps.tag.outputs.tag }}") ]]; then
if git tag -l "${{ steps.tag.outputs.tag }}"; then
echo "Tag already exists"
else
git tag ${{ steps.mlflow.outputs.mlflow }}