From 98fe40078e8eaca59102c7768df366366ec5a045 Mon Sep 17 00:00:00 2001 From: Jiri Malak Date: Sat, 23 Mar 2024 12:03:00 +0100 Subject: [PATCH] CI-CD: enable overwrite artifact if upload --- .github/actions/artfsave/action.yml | 1 + .github/workflows/ci-build.yml | 1 + .github/workflows/coverity.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/actions/artfsave/action.yml b/.github/actions/artfsave/action.yml index b2a69e19ac..150a8a6606 100644 --- a/.github/actions/artfsave/action.yml +++ b/.github/actions/artfsave/action.yml @@ -70,6 +70,7 @@ runs: name: ${{ steps.artifact_name.outputs.id }} path: ${{ steps.srcpath.outputs.path }} retention-days: ${{ inputs.retention_days }} + overwrite: true - if: inputs.noarchive == '' name: Delete Temporary Artifact tar file run: rm -f ${{ steps.tarname.outputs.fullname }} diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a888e97ea3..2179504a37 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -141,6 +141,7 @@ jobs: name: 'owsnapshot' path: ${{ steps.owsnapshot.outputs.fullname }} retention-days: 14 + overwrite: true - if: vars.OWDELETEARTIFACTS == 1 && github.event_name == 'PullRequest' name: Call to delete Pull Request Artifacs uses: "./.github/actions/artfdelc" diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 4037113162..8de57e9728 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -107,6 +107,7 @@ jobs: name: 'coverity' path: ${{ steps.tarname.outputs.fullname }} retention-days: 3 + overwrite: true - id: last_commit run: git rev-parse HEAD | Join-String -OutputPrefix 'sha=' | Out-File -FilePath ${{ github.output }} -Encoding utf8 -Append shell: pwsh