# 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"]