We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb6789 commit dfad59bCopy full SHA for dfad59b
.github/workflows/publish.yaml
@@ -30,7 +30,7 @@ jobs:
30
id: get_branch_name
31
if: github.ref_type == 'tag'
32
run: |
33
- export BRANCH_NAME=$(git log -1 --format='%D' $env:GITHUB_REF | | sed -e 's/.*origin\/\(.*\),.*/\1/')
+ export BRANCH_NAME=$(git log -1 --format='%D' $GITHUB_REF | | sed -e 's/.*origin\/\(.*\),.*/\1/')
34
echo ::set-output name=branch_name::${BRANCH_NAME}
35
shell: bash
36
- name: Fail if tag is not on 'master' branch
0 commit comments