Skip to content

Commit dd302c0

Browse files
committed
test
1 parent e4475f9 commit dd302c0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: context
2121
- uses: actions/upload-artifact@v4
2222
with:
23-
name: compilation_${{ steps.context.outputs.runner_id }}_${{ steps.context.outputs.job_id }}_log
23+
name: compilation_${{ github.run_id }}_${{ steps.context.outputs.job_id }}_log
2424
path: compilation*.log
2525
- run: ./build/hello_world
2626

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for (const file of readdirRecursively(".")) {
4444

4545
console.log(artifactMatch.groups);
4646

47-
const runnerId = artifactMatch[1];
47+
const runId = artifactMatch[1];
4848
const jobId = artifactMatch[2];
4949
const stepId = 3;
5050

@@ -55,7 +55,7 @@ for (const file of readdirRecursively(".")) {
5555
const outputMatch = compilationOutput.match(/warning( .\d+)?:/);
5656

5757
if (outputMatch && outputMatch.length > 0) {
58-
const url = `https://github.com/${owner}/${repo}/actions/runs/${runnerId}/job/${jobId}#step:${stepId}:1`;
58+
const url = `https://github.com/${owner}/${repo}/actions/runs/${runId}/job/${jobId}#step:${stepId}:1`;
5959

6060
const appendString = `detected warnings in the compilation output\n${url}\n<details><summary>compilation output</summary>\n\n\`\`\`\n${compilationOutput}\n\`\`\`\n</details>\n`;
6161
if (body) {

0 commit comments

Comments
 (0)