Skip to content

Commit b51a54a

Browse files
committed
chore: update ref name in upload reports
1 parent 2598ed9 commit b51a54a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ jobs:
286286
- name: Merge coverage (Delta)
287287
run: npm run test-merge-coverage:ci:affected
288288
- name: Report Coverage with Flags
289-
run: node ./scripts/codecov-upload-flags.mjs ${{github.ref_name}} ${{github.sha}}
289+
run: node ./scripts/codecov-upload-flags.mjs ${{github.ref}} ${{github.sha}}
290290
# - name: Report Coverage
291291
# uses: codecov/codecov-action@v5
292292
# env:

scripts/codecov-upload-flags.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,5 @@ for (const pkg of pkgsWithFlag) {
8181
const command = pkg.command.replace('<sha>', 'Oxffff').replace('<branch>', 'my-branch');
8282
// execCmd(command, {cwd: TOP, encoding: 'utf-8'});
8383
console.log(command)
84-
} else {
85-
console.log(`Report of ${pkg.name} not found. Expected existence of ${pkg.report}`);
8684
}
8785
}

0 commit comments

Comments
 (0)