38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
# SPDX-License-Identifier: EUPL-1.2
|
|
name: "Release"
|
|
description: "Pull build artifacts from the pipeline artifact storage"
|
|
author: "Louis Seubert"
|
|
inputs:
|
|
name:
|
|
required: true
|
|
description: >
|
|
The name of the artifact to download. The name is used to identify the artifact in the
|
|
artifact storage and must be unique within the repository.
|
|
pattern:
|
|
required: false
|
|
description: >
|
|
Paths of files which will be extracted from the artifact. Can be multiple lines with file system globbing
|
|
patterns. A line starting with ! will negate the pattern and act as exclude pattern. If this input is not provided,
|
|
all files of the artifact will be extracted.
|
|
run-id:
|
|
required: false
|
|
description: >
|
|
The id of the workflow run from which the artifact should be downloaded. If this input is not provided, the
|
|
artifact from the current workflow run will be downloaded.
|
|
default: "${{ github.run_id }}"
|
|
runs:
|
|
using: 'docker'
|
|
image: 'code.geekeey.de/actions/core:1.0.0'
|
|
args:
|
|
- '--server'
|
|
- '${{ github.server_url }}'
|
|
- '--token'
|
|
- '${{ github.token }}'
|
|
- 'artifact'
|
|
- 'pull'
|
|
- '--name'
|
|
- '${{ inputs.name }}'
|
|
- '--pattern'
|
|
- '${{ inputs.pattern }}'
|
|
- '--run-id'
|
|
- '${{ inputs.run-id }}'
|