Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
Yuvraj committed May 19, 2022
1 parent f1d1c73 commit 41fa329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
run: echo "::set-output name=branch::$(echo ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}})"
id: extract_branch

unit_tests_with_coverage:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

release:
name: Generate Release
if: ${{ (github.event_name != 'pull_request') && (needs.extract_branch.outputs.branch == 'master') }}
if: ${{ needs.extract_branch.outputs.branch == 'master' }}
needs: [unit_tests_with_coverage, lint_project, build_docker_image, extraxt_branch]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 41fa329

Please sign in to comment.