feat: artifact push and pull actions
All checks were successful
default / test artifact actions (push) Successful in 26s
All checks were successful
default / test artifact actions (push) Successful in 26s
This commit is contained in:
commit
ae8d20e174
15 changed files with 1319 additions and 0 deletions
39
pull/action.yml
Normal file
39
pull/action.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# SPDX-License-Identifier: EUPL-1.2
|
||||
name: "Artifact Pull"
|
||||
description: "Download and extract a workflow artifact"
|
||||
author: "Louis Seubert"
|
||||
inputs:
|
||||
name:
|
||||
description: >
|
||||
The name of the artifact to download.
|
||||
required: true
|
||||
path:
|
||||
description: >
|
||||
The directory to extract the artifact into.
|
||||
required: false
|
||||
default: "."
|
||||
repository:
|
||||
description: >
|
||||
The owner and repository name, separated by a slash, to download the
|
||||
artifact from.
|
||||
required: false
|
||||
default: "${{ github.repository }}"
|
||||
run-id:
|
||||
description: >
|
||||
The ID of the workflow run to download the artifact from.
|
||||
required: false
|
||||
default: "${{ github.run_id }}"
|
||||
github-token:
|
||||
description: >
|
||||
The token used to access the target repository. Must have read access to
|
||||
its actions.
|
||||
required: false
|
||||
default: "${{ github.token }}"
|
||||
outputs:
|
||||
download-path:
|
||||
description: >
|
||||
The absolute path of the directory the artifact was extracted into.
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "../Dockerfile"
|
||||
args: ["pull"]
|
||||
Loading…
Reference in a new issue