Files
2026-04-13 14:27:58 +01:00

71 lines
1.8 KiB
YAML

name: Get Release
description: Get a release by tag, latest or current release
author: Giao Ho
inputs:
owner:
# Default: Current owner
description: The name of the owner of the repo. Used to identify the owner of the repository.
required: false
repo:
# Default: Current repository
description: The name of the repository. Used to identify the repository on which to release.
required: false
tag_name:
description: Specify tag instead of using checkout tag.
required: false
latest:
description: Should get latest release?
required: false
default: 'false'
prerelease:
# This input will be ignored if `latest = false`
description: Find the latest release including the pre-releases
required: false
pattern:
description: A pattern string to filter the releases by tag_name
required: false
debug:
description: Show ouputs
required: false
throwing:
description: Fail when no release was found
required: false
outputs:
id:
description: The ID of the Release
node_id:
description: The node ID
url:
description: The release url
html_url:
description: The url users can navigate to in order to view the release
assets_url:
description: The release assets url
upload_url:
description: The url for uploading assets to the release
name:
description: The release name
tag_name:
description: The git tag associated with the release
draft:
description: Is draft
prerelease:
description: Is pre-release
target_commitish:
description: The release was create to which target branch
created_at:
description: Created date
published_at:
description: Published date
body:
description: The release body
runs:
using: node24
main: action/index.js
branding:
icon: tag
color: blue