From 18bc8a71ec9a49cc5250b802a1c80598d9141da5 Mon Sep 17 00:00:00 2001 From: "Stephen A. Fuqua" Date: Wed, 24 Jan 2024 14:38:42 -0600 Subject: [PATCH] Tweak the artifact upload --- .github/workflows/edfi.codegen pullrequest.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/edfi.codegen pullrequest.yml b/.github/workflows/edfi.codegen pullrequest.yml index ec29f7fb26..15df9408a8 100644 --- a/.github/workflows/edfi.codegen pullrequest.yml +++ b/.github/workflows/edfi.codegen pullrequest.yml @@ -34,11 +34,13 @@ jobs: dotnet test --filter FullyQualifiedName~UnitTests --logger "trx;LogFileName=unit-tests.trx" --logger "console;verbosity=detailed" - name: Upload Unit Test Results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + if: always() with: name: unit-tests path: ./Ed-Fi-ODS/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/TestResults/unit-tests.trx retention-days: 5 + if-no-files-found: warn # Integration tests require presence of the `Ed-Fi-ODS-Implementation` and `Ed-Fi-Extensions` repositories - name: Check out Ed-Fi-ODS-Implementation @@ -71,9 +73,11 @@ jobs: dotnet test --filter FullyQualifiedName~IntegrationTests --logger "trx;LogFileName=integration-tests.trx" --logger "console;verbosity=detailed" - name: Upload Integration Test Results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + if: always() with: name: integration-tests path: ./Ed-Fi-ODS/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/TestResults/integration-tests.trx retention-days: 5 + if-no-files-found: warn