1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix PATH_IN_REPO on new release in mirror_community_pipeline.yaml (#8519)

Fix PATH_IN_REPO in mirror workflow
This commit is contained in:
Lucain
2024-06-13 10:25:24 +02:00
committed by GitHub
parent 896fb6d8d7
commit 06ee907b73

View File

@@ -54,7 +54,7 @@ jobs:
else
# e.g. refs/tags/v0.28.1 -> v0.28.1
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
echo "PATH_IN_REPO=${${{ github.ref }}#refs/tags/}" >> $GITHUB_ENV
echo "PATH_IN_REPO=$(echo ${{ github.ref }} | sed 's/^refs\/tags\///')" >> $GITHUB_ENV
fi
- name: Print env vars
run: |