Skip to content

Commit b218f7f

Browse files
committed
Try to uniquely name the artifacts on failure.
1 parent 9d0fabf commit b218f7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ jobs:
9292
- uses: actions/upload-artifact@v3
9393
if: failure()
9494
with:
95-
name: config.log ${{ matrix.node-version }}
95+
name: config.log-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}
9696
path: |
9797
/home/runner/build/**/config.log
9898
- name: Build and test
9999
run: ./test/travis_run_linux.sh
100100
- uses: actions/upload-artifact@v3
101101
if: failure()
102102
with:
103-
name: error_log ${{ matrix.node-version }}
103+
name: error_log-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}
104104
path: test/perl-framework/t/logs/error_log
105105

0 commit comments

Comments
 (0)