Update if statement
Create mlflow tag / Create mlflow tag (push) Successful in 5s
Details
Create mlflow tag / Create mlflow tag (push) Successful in 5s
Details
This commit is contained in:
parent
672f896a6a
commit
587d81e672
|
@ -22,7 +22,7 @@ jobs:
|
||||||
run: echo "mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)" >> $GITHUB_OUTPUT
|
run: echo "mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)" >> $GITHUB_OUTPUT
|
||||||
- name: Create tag if it doesn't exist
|
- name: Create tag if it doesn't exist
|
||||||
run: |
|
run: |
|
||||||
if [[ $(git tag -l "${{ steps.tag.outputs.tag }}") ]]; then
|
if git tag -l "${{ steps.tag.outputs.tag }}"; then
|
||||||
echo "Tag already exists"
|
echo "Tag already exists"
|
||||||
else
|
else
|
||||||
git tag ${{ steps.mlflow.outputs.mlflow }}
|
git tag ${{ steps.mlflow.outputs.mlflow }}
|
||||||
|
|
Loading…
Reference in New Issue