Skip to content

Commit

Permalink
Use github.head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jan 22, 2025
1 parent 0291b52 commit 4eb5b65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
GITHUB_TOKEN: ${{ github.token }}
IS_RELEASE: ${{ github.event_name == 'workflow_dispatch' }}
RUN_SIMPLE_TESTS: ${{ github.event_name == 'push' || inputs.run-tests == 'true' }}
RUN_EXTENDED_TESTS: ${{ GITHUB_HEAD_REF == 'release/8.8.x' && (github.event_name != 'release')}}
RUN_EXTENDED_TESTS: ${{ github.head_ref == 'release/8.8.x' && (github.event_name != 'release')}}
REF: ${{ inputs.target_branch =='' && github.ref || inputs.target_branch}}
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
triplet: x64-linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
GITHUB_TOKEN: ${{ github.token }}
IS_RELEASE: ${{ github.event_name == 'workflow_dispatch' }}
RUN_SIMPLE_TESTS: ${{ github.event_name == 'push' || inputs.run-tests == 'true' }}
RUN_EXTENDED_TESTS: ${{ GITHUB_HEAD_REF == 'release/8.8.x' && (github.event_name != 'release')}}
RUN_EXTENDED_TESTS: ${{ github.head_ref == 'release/8.8.x' && (github.event_name != 'release')}}
REF: ${{ inputs.target_branch =='' && github.ref || inputs.target_branch}}

jobs:
Expand Down

0 comments on commit 4eb5b65

Please sign in to comment.