Skip to content

Commit ceffd9e

Browse files
Include run ID in debug artifact name
1 parent 0442e71 commit ceffd9e

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/__debug-artifacts.yml

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

lib/analyze-action.js

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

lib/analyze-action.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.

pr-checks/checks/debug-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313
id: analysis
1414
- uses: actions/download-artifact@v2
1515
with:
16-
name: debug-artifacts
16+
name: debug-artifacts-${{ github.run_id }}
1717
- shell: bash
1818
run: |
1919
LANGUAGES="cpp csharp go java javascript python"

src/analyze-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async function run() {
238238

239239
async function uploadDebugArtifacts(toUpload: string[], rootDir: string) {
240240
await artifact.create().uploadArtifact(
241-
DEBUG_ARTIFACT_NAME,
241+
`${DEBUG_ARTIFACT_NAME}-${process.env.GITHUB_RUN_ID}`,
242242
toUpload.map((file) => path.normalize(file)),
243243
path.normalize(rootDir)
244244
);

0 commit comments

Comments
 (0)