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 cfea157 commit c798887Copy full SHA for c798887
.github/workflows/github-actions.yml
@@ -38,14 +38,12 @@ jobs:
38
# extract branch name
39
- name: Extract branch name
40
if: github.event_name != 'pull_request'
41
- shell: bash
42
- run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/})"
43
- id: extract_branch
+ run: BRANCH_NAME=${GITHUB_REF#refs/heads/}"
44
45
# extract branch name on pull request
46
47
if: github.event_name == 'pull_request'
48
- run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_HEAD_REF})"
+ run: BRANCH_NAME=${GITHUB_HEAD_REF}"
49
50
# Build and push Operator image (don't push on PR)
51
- name: Build and push Docker image
0 commit comments