artifacts/pull/action.yml

39 lines
1 KiB
YAML
Raw Permalink Normal View History

2026-09-13 19:10:04 +02:00
# 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"]