Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Latest commit

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

create-release-action

Warning

This action is deprecated and will not be maintained anymore. Please use our LizardByte/actions monorepo instead.

GitHub Workflow Status (CI)

A reusable action to create a GitHub release. This action is tailored to the @LizardByte organization, but can be used by anyone if they follow the same conventions.

This is basically a wrapper around ncipollo/release-action, with some different defaults to make it easier to use within the @LizardByte organization. Additionally, all except the 2 (configurable) latest pre-releases and tags are deleted.

Basic Usage

See action.yml

steps:
- name: Create Releaseuses: LizardByte/create-release-action@masterwith:
name: v0.1.0tag: v0.1.0token: ${{ secrets.GITHUB_TOKEN }}

Inputs

NameDescriptionDefaultRequired
allowUpdatesAn optional flag which indicates if we should update a release if it already exists.truefalse
artifactErrorsFailBuildAn optional flag which indicates if we should fail the build if there are errors with the artifacts.falsefalse
artifactsThe artifacts to upload.*artifacts/*false
bodyThe body of the release.false
deleteOtherPreReleasesWhether to delete other pre-releases.truefalse
deletePreReleaseTagsWhether to delete other pre-release tags.truefalse
generateReleaseNotesIndicates if release notes should be automatically generated.truefalse
keepPreReleaseCountThe number of pre-releases to keep.2false
nameThe version to create.true
prereleaseWhether the release is a prerelease.truefalse
sleepDurationThe duration to sleep in seconds before deleting tags.15false
tagThe tag to create.true
tokenGitHub Token.true

See Also

This action is meant to be used in conjunction with LizardByte/setup-release-action.

About

Reusable action for LizardByte to publish a GitHub release.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors