Skip to content

Commit 56e5916

Browse files
committed
Another try at unique artifact naming.
1 parent b218f7f commit 56e5916

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/linux.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
name: ${{ matrix.name }}
6363
steps:
6464
- name: Set environment variables
65-
run: echo "${{ matrix.env }}" >> $GITHUB_ENV
65+
run: |
66+
echo "${{ matrix.env }}" >> $GITHUB_ENV
67+
echo "echo JOBID=`echo ${{matrix.name }} | base64`" >> $GITHUB_ENV
6668
- name: apt refresh
6769
run: sudo apt-get -o Acquire::Retries=5 update
6870
- name: Install prerequisites
@@ -92,14 +94,14 @@ jobs:
9294
- uses: actions/upload-artifact@v3
9395
if: failure()
9496
with:
95-
name: config.log-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}
97+
name: config.log-${{ env.JOBID }}
9698
path: |
9799
/home/runner/build/**/config.log
98100
- name: Build and test
99101
run: ./test/travis_run_linux.sh
100102
- uses: actions/upload-artifact@v3
101103
if: failure()
102104
with:
103-
name: error_log-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}
105+
name: error_log-${{ env.JOBID }}
104106
path: test/perl-framework/t/logs/error_log
105107

0 commit comments

Comments
 (0)