diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c611c20d7..d448fe901 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,14 +12,14 @@ on: - devmain jobs: - extraxt_branch: + extract_branch: runs-on: ubuntu-latest outputs: - currentTag: ${{ steps.extract_branch.outputs.extract_branch }} + branch: ${{ steps.extract_branch.outputs.branch }} 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: @@ -66,7 +66,7 @@ jobs: release: name: Generate Release if: ${{ (github.event_name != 'pull_request') && (needs.extract_branch.outputs.branch == 'master') }} - needs: [unit_tests_with_coverage, lint_project, build_docker_image, extraxt_branch] + needs: [unit_tests_with_coverage, lint_project, build_docker_image, extract_branch] runs-on: ubuntu-latest steps: - name: Checkout