Skip to content

Commit ea77e79

Browse files
authored
Update python-publish.yml
1 parent 25723cb commit ea77e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Set environment based on branch
5353
id: identify
5454
run: |
55-
echo "git log -1 --format='%D' ${{ github.ref }} | grep -Eo '[^\/]+$'" >> $BRANCH
55+
BRANCH=$(git log -1 --format='%D' ${{ github.ref }} | grep -Eo '[^\/]+$')
5656
echo $BRANCH
5757
echo "branch_name=${BRANCH}" >> $GITHUB_OUTPUT
5858
outputs:

0 commit comments

Comments
 (0)