Skip to content

Commit 06ee907

Browse files
authored
Fix PATH_IN_REPO on new release in mirror_community_pipeline.yaml (#8519)
Fix PATH_IN_REPO in mirror workflow
1 parent 896fb6d commit 06ee907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mirror_community_pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
else
5555
# e.g. refs/tags/v0.28.1 -> v0.28.1
5656
echo "CHECKOUT_REF=${{ github.ref }}" >> $GITHUB_ENV
57-
echo "PATH_IN_REPO=${${{ github.ref }}#refs/tags/}" >> $GITHUB_ENV
57+
echo "PATH_IN_REPO=$(echo ${{ github.ref }} | sed 's/^refs\/tags\///')" >> $GITHUB_ENV
5858
fi
5959
- name: Print env vars
6060
run: |

0 commit comments

Comments
 (0)