mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 07:17:10 -05:00
ci: add a delete artifact action (#2999)
This commit is contained in:
parent
4ca9db156b
commit
febe8f0801
2 changed files with 60 additions and 0 deletions
17
.github/actions/artifact_delete/action.yml
vendored
Normal file
17
.github/actions/artifact_delete/action.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Delete artifact
|
||||
description: Delete an artifact by name
|
||||
|
||||
inputs:
|
||||
name:
|
||||
description: 'The name of the artifact.'
|
||||
required: true
|
||||
workflowID:
|
||||
description: 'The ID of the workflow.'
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Delete artifact
|
||||
shell: bash
|
||||
run: ./.github/actions/artifact_delete/delete_artifact.sh ${{ inputs.workflowID }} ${{ inputs.name }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue