Skip to content

Commit 508ae8f

Browse files
committed
fix drift
1 parent 1c43862 commit 508ae8f

1 file changed

Lines changed: 13 additions & 16 deletions

File tree

‎.github/workflows/self_hosted_build_and_test.yml‎

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Self-Hosted Build and Test
22

33
on:
4-
pull_request:
5-
branches: [ develop ]
4+
push:
5+
branches:
6+
- "**"
67
workflow_dispatch:
78
inputs:
89
ref:
@@ -11,8 +12,7 @@ on:
1112
default: ""
1213

1314
concurrency:
14-
group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
15-
github.event.inputs.ref || github.ref }}
15+
group: ${{ github.workflow }}-${{ github.event.inputs.ref || github.ref }}
1616
cancel-in-progress: true
1717

1818
env:
@@ -56,10 +56,10 @@ jobs:
5656
path: |
5757
${{ steps.setup-runner.outputs.ccache-dir }}
5858
key: ccache-self-hosted-linux-${{ steps.setup-runner.outputs.compiler-id
59-
}}-coverage-${{ github.head_ref || github.event.inputs.ref ||
60-
github.ref_name }}-${{ github.run_id }}-${{ github.run_attempt }}
59+
}}-coverage-${{ github.event.inputs.ref || github.ref_name }}-${{
60+
github.run_id }}-${{ github.run_attempt }}
6161
restore-keys: |
62-
ccache-self-hosted-linux-${{ steps.setup-runner.outputs.compiler-id }}-coverage-${{ github.head_ref || github.event.inputs.ref || github.ref_name }}-
62+
ccache-self-hosted-linux-${{ steps.setup-runner.outputs.compiler-id }}-coverage-${{ github.event.inputs.ref || github.ref_name }}-
6363
ccache-self-hosted-linux-${{ steps.setup-runner.outputs.compiler-id }}-coverage-
6464
ccache-self-hosted-linux-${{ steps.setup-runner.outputs.compiler-id }}-
6565
ccache-self-hosted-linux-
@@ -184,9 +184,8 @@ jobs:
184184
flag-name: unit-tests
185185
parallel: true
186186
build-number: ${{ github.run_id }}
187-
git-branch: ${{ github.head_ref || github.event.inputs.ref || github.ref_name }}
188-
git-commit: ${{ github.event.pull_request.head.sha ||
189-
steps.checkout-sha.outputs.sha }}
187+
git-branch: ${{ github.event.inputs.ref || github.ref_name }}
188+
git-commit: ${{ steps.checkout-sha.outputs.sha }}
190189
fail-on-error: true
191190

192191
- name: Upload integration test coverage to Coveralls
@@ -204,9 +203,8 @@ jobs:
204203
flag-name: integration-tests
205204
parallel: true
206205
build-number: ${{ github.run_id }}
207-
git-branch: ${{ github.head_ref || github.event.inputs.ref || github.ref_name }}
208-
git-commit: ${{ github.event.pull_request.head.sha ||
209-
steps.checkout-sha.outputs.sha }}
206+
git-branch: ${{ github.event.inputs.ref || github.ref_name }}
207+
git-commit: ${{ steps.checkout-sha.outputs.sha }}
210208
fail-on-error: true
211209

212210
- name: Finish Coveralls coverage build
@@ -217,9 +215,8 @@ jobs:
217215
github-token: ${{ secrets.GITHUB_TOKEN }}
218216
parallel-finished: true
219217
build-number: ${{ github.run_id }}
220-
git-branch: ${{ github.head_ref || github.event.inputs.ref || github.ref_name }}
221-
git-commit: ${{ github.event.pull_request.head.sha ||
222-
steps.checkout-sha.outputs.sha }}
218+
git-branch: ${{ github.event.inputs.ref || github.ref_name }}
219+
git-commit: ${{ steps.checkout-sha.outputs.sha }}
223220
fail-on-error: true
224221

225222
- name: Upload unit test coverage artifacts

0 commit comments

Comments
 (0)