]> git.ipfire.org Git - thirdparty/git.git/commit
ci(github): make Windows test artifacts name unique
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sun, 10 Mar 2024 20:04:56 +0000 (20:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Mar 2024 17:13:03 +0000 (10:13 -0700)
commite1aaf309db559fd722185bfdea61d3a31d9bbfd4
tree5464c571883e986e4b205f1c02878a397d95b588
parent3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0
ci(github): make Windows test artifacts name unique

If several jobs in the windows-test or vs-test matrices fail, the
upload-artifact action in each job tries to upload the test directories
of the failed tests as "failed-tests-windows.zip", which fails for all
jobs except the one which finishes first with the following error:

    Error: Failed to CreateArtifact: Received non-retryable error:
    Failed request: (409) Conflict: an artifact with this name
    already exists on the workflow run

Make the artifacts name unique by using the 'matrix.nr' token, and
disambiguate the vs-test artifacts from the windows-test ones.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml