add overwrite option to artifact_upload

This commit is contained in:
miampf 2024-03-01 14:40:45 +01:00
parent 8a3e830596
commit 4ebe1cd2af
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -14,6 +14,10 @@ inputs:
encryptionSecret:
description: 'The secret to use for encrypting the files.'
required: true
overwrite:
description: 'Overwrite an artifact with the same name.'
default: false
required: false
runs:
using: "composite"
@ -69,3 +73,4 @@ runs:
path: ${{ steps.tempdir.outputs.directory }}/archive.zip
retention-days: ${{ inputs.retention-days }}
if-no-files-found: ignore
overwrite: ${{ inputs.overwrite }}