CI: Change github.ref into github.head_ref
This actually allows us to check source branch
(cherry picked from commit 77ee600544)
This commit is contained in:
committed by
github-actions[bot]
parent
b8c5ada0aa
commit
8d851d4f8b
@@ -54,21 +54,21 @@ jobs:
|
||||
|
||||
Ubuntu:
|
||||
needs: [Prepare]
|
||||
if: "!startsWith(github.ref, 'refs/heads/backport-')"
|
||||
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
|
||||
uses: ./.github/workflows/sub_buildUbuntu.yml
|
||||
with:
|
||||
artifactBasename: Ubuntu-${{ github.run_id }}
|
||||
|
||||
Windows:
|
||||
needs: [Prepare]
|
||||
if: "!startsWith(github.ref, 'refs/heads/backport-')"
|
||||
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
|
||||
uses: ./.github/workflows/sub_buildWindows.yml
|
||||
with:
|
||||
artifactBasename: Windows-${{ github.run_id }}
|
||||
|
||||
Lint:
|
||||
needs: [Prepare]
|
||||
if: "!startsWith(github.ref, 'refs/heads/backport-')"
|
||||
if: "!startsWith(github.head_ref, 'refs/heads/backport-')"
|
||||
uses: ./.github/workflows/sub_lint.yml
|
||||
with:
|
||||
artifactBasename: Lint-${{ github.run_id }}
|
||||
|
||||
Reference in New Issue
Block a user