Skip to content

Commit

Permalink
shorten line to fix yaml issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube707 committed Mar 9, 2023
1 parent 4a69e22 commit 0cc5ad2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
- name: Set env
run: |
echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "BRANCH=$(git branch -r --contains ${GITHUB_REF} | grep -v HEAD | sed -n 's/ *origin\/\(.*\)/\1/p')" >> $GITHUB_ENV
echo "BRANCH=$( \
git branch -r --contains ${GITHUB_REF} \
| grep -v HEAD \
| sed -n 's/ *origin\/\(.*\)/\1/p' \
)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 0cc5ad2

Please sign in to comment.