Skip to content

Commit 25ea224

Browse files
zzzyxwvutchrisbra
authored andcommitted
CI: Include provenance in names of collected artifacts
The currently given names to the uploaded archives are too common and require (often manual) renaming for downloaded archives that belong to different CI runs/attempts of a PR and/or different PRs. Let's automatically disambiguate such archives from one another by giving them more unique names for convenience and future reference. related: #17704 Signed-off-by: Aliaksei Budavei <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent cced80d commit 25ea224

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ freebsd_task:
2323
- sudo -u cirrus make test
2424
on_failure:
2525
test_artifacts:
26-
name: "Cirrus-CI-freebsd-failed-tests"
26+
name: "Cirrus-${CIRRUS_BUILD_ID}-freebsd-failed-tests"
2727
path: |
2828
runtime/indent/testdir/*.fail
2929
runtime/syntax/testdir/failed/*

.github/actions/test_artifacts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
uses: actions/upload-artifact@v4
88
with:
99
# Name of the artifact to upload.
10-
name: ${{ github.workflow }}-${{ github.job }}-${{ join(matrix.*, '-') }}-failed-tests
10+
name: GH-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}-${{ join(matrix.*, '-') }}-failed-tests
1111

1212
# A file, directory or wildcard pattern that describes what
1313
# to upload.

0 commit comments

Comments
 (0)