We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a69e22 commit 0cc5ad2Copy full SHA for 0cc5ad2
.github/workflows/publish.yaml
@@ -23,7 +23,11 @@ jobs:
23
- name: Set env
24
run: |
25
echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
26
- echo "BRANCH=$(git branch -r --contains ${GITHUB_REF} | grep -v HEAD | sed -n 's/ *origin\/\(.*\)/\1/p')" >> $GITHUB_ENV
+ echo "BRANCH=$( \
27
+ git branch -r --contains ${GITHUB_REF} \
28
+ | grep -v HEAD \
29
+ | sed -n 's/ *origin\/\(.*\)/\1/p' \
30
+ )" >> $GITHUB_ENV
31
- name: Set up Python
32
uses: actions/setup-python@v4
33
with:
0 commit comments