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 bdb1207 commit 9f03fa3Copy full SHA for 9f03fa3
.github/workflows/tag.yaml
@@ -9,9 +9,13 @@ jobs:
9
steps:
10
- name: checkout source code
11
uses: actions/checkout@v1
12
+ - name: Dump GitHub context
13
+ env:
14
+ GITHUB_CONTEXT: ${{ toJSON(github) }}
15
+ run: echo "$GITHUB_CONTEXT"
16
- name: Get Branch
17
run: |
18
raw=$(git branch -r --contains ${{ github.ref }})
19
branch=${raw/origin\/}
20
echo ::set-env name=BRANCH::$branch
- - run: echo ${{ env.BRANCH }}
21
+ - run: echo ${{ env.BRANCH }}
0 commit comments