release/action.yml

49 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2024-10-30 21:28:34 +00:00
# SPDX-License-Identifier: EUPL-1.2
name: "Release"
description: "Create a release from a Git Tag and attache file artifacts"
author: "Louis Seubert"
inputs:
repository:
description: >
The owner and repository name seperated by a slash of the repository in which
the release should be created. The repository must be on the same instance as
the action is running on.
required: false
default: "${{ github.repository }}"
version:
description: >
The tag name of the git tag for which the release should be created and to which
the artifacts should be attached to.
required: false
default: "${{ github.ref_name }}"
draft:
description: >
A boolean value or a regex pattern which will be evaluated against the version
to determine if the created release will be saved as draft.
required: false
default: "false"
prerelease:
description: >
A boolean value or a regex pattern which will be evaluated against the version
to determine if the created release will be marked as pre-release.
required: false
default: "false"
label:
description: >
The label of the created release. Leave this empty to use the label of the
referenced git tag.
required: false
notes:
description: >
The message of the created release. Leave this empty to use the notes of the
referenced git tag.
required: false
attachments:
description: >
Paths to files which will be attached to the release. Can be multiple lines
with file system globbing patterns. A line starting with ! will negate the
pattern and act as exclude pattern.
required: false
runs:
using: "docker"
image: "Dockerfile"