wip
This commit is contained in:
commit
42e77bd0eb
33 changed files with 1657 additions and 0 deletions
38
module/artifact-pull/action.yml
Normal file
38
module/artifact-pull/action.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# 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 }}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue