Skip to content

Commit

Permalink
Fix PATH_IN_REPO on new release in mirror_community_pipeline.yaml (h…
Browse files Browse the repository at this point in the history
…uggingface#8519)

Fix PATH_IN_REPO in mirror workflow
  • Loading branch information
Wauplin authored Jun 13, 2024
1 parent 896fb6d commit 06ee907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mirror_community_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 06ee907

Please sign in to comment.