Skip to content

Commit

Permalink
Merge pull request #36 from kdarkhan/fix-coverage-report
Browse files Browse the repository at this point in the history
Fix artifact paths
  • Loading branch information
kdarkhan authored Feb 2, 2024
2 parents 81316d0 + b9c802b commit 306edd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:
unzip pr_number.zip
unzip commit_sha.zip
echo "Detected PR is: $(<pr_number.txt)"
echo "Detected commit_sha is: $(<commit_sha.txt)"
echo "override_pr=$(<pr_number.txt)" >> "$GITHUB_OUTPUT"
echo "override_commit=$(<commit_sha.txt)" >> "$GITHUB_OUTPUT"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: Store PR number and commit SHA
run: |
echo ${{ github.event.number }} > pr-num.txt
echo ${{ github.event.pull_requests[0].head.sha }} > commit-sha.txt
echo ${{ github.event.number }} > pr_num.txt
echo ${{ github.event.pull_requests[0].head.sha }} > commit_sha.txt
# Workaround for https://github.com/orgs/community/discussions/25220
# Triggered sub-workflow is not able to detect the original commit/PR which is available
Expand Down

0 comments on commit 306edd3

Please sign in to comment.