Skip to content

Commit ff7a44a

Browse files
committed
Update GitHub Actions (attemp to fix PR Test results attach)
1 parent b1e9475 commit ff7a44a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/publish-pr-coverage-results.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,14 @@ jobs:
3939
- run: |
4040
unzip coverage-reports.zip
4141
rm coverage-reports.zip
42+
43+
- run: echo ${{ github.event.workflow_run }}
4244

4345
- name: Publish Code Coverage Results
4446
uses: codecov/codecov-action@v1
4547
with:
4648
files: "**/Cobertura.xml"
47-
48-
- name: Test bash Coverage Uploader
49-
run: |
50-
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
51-
bash codecov.sh -f '"**/Cobertura.xml"'
49+
override_commit: ${{ github.event.workflow_run.head_sha }}
5250

5351
- name: Publish Code Coverage Results
5452
uses: 5monkeys/cobertura-action@master

.github/workflows/publish-pr-test-results.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
with:
4444
check_name: Unit Test Results
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
commit: ${{ github.event.workflow_run.head_sha }}
4647
files: "**/*.xml"
4748
report_individual_runs: true
4849
check_run_annotations: all tests, skipped tests

0 commit comments

Comments
 (0)