From 4034d4179d975507a68aaa637f997f11a584d163 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:03:31 +0100 Subject: [PATCH] activated delete-artifacts again with v5 --- .../test_docker_debian_codename_sub_v3.yml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test_docker_debian_codename_sub_v3.yml b/.github/workflows/test_docker_debian_codename_sub_v3.yml index 6deedb478..dcb313d71 100644 --- a/.github/workflows/test_docker_debian_codename_sub_v3.yml +++ b/.github/workflows/test_docker_debian_codename_sub_v3.yml @@ -138,7 +138,7 @@ jobs: with: name: ${{ steps.vars.outputs.image_file_name }} path: ${{ steps.vars.outputs.image_file_path }} - retention-days: 1 + retention-days: 2 # Run tests with build image @@ -177,15 +177,15 @@ jobs: args: | ./${{ matrix.test_script }} - ## cleanup after test execution - #cleanup: - # # run only if tests didn't fail: keep the artifact to make job reruns possible - # if: ${{ !failure() }} - # needs: [build, test] - # runs-on: ${{ inputs.runs_on }} - # - # steps: - # - name: Artifact Delete Docker Image - # uses: geekyeggo/delete-artifact@v4 - # with: - # name: ${{ needs.build.outputs.image_file_name }} + # cleanup after test execution + cleanup: + # run only if tests didn't fail: keep the artifact to make job reruns possible + if: ${{ !failure() }} + needs: [build, test] + runs-on: ${{ inputs.runs_on }} + + steps: + - name: Artifact Delete Docker Image + uses: geekyeggo/delete-artifact@v5 + with: + name: ${{ needs.build.outputs.image_file_name }}