A github/gitea action to support publishing release to Gitea https://gitea.com/actions/gitea-release-action.git
Find a file
2024-02-21 16:34:21 +08:00
.github/workflows fix: workflow add write permission 2023-12-04 10:37:58 +08:00
dist Merge pull request #3 from watho/fix_error_on_delete_attachment 2024-02-21 16:34:21 +08:00
.gitignore 🎉 2023-12-01 16:14:35 +08:00
action.yml fixed https://gitea.com/actions/gitea-release-action/issues/1 2024-02-21 16:31:05 +08:00
LICENSE Create LICENSE 2023-12-07 15:03:22 +08:00
main.js Merge pull request #3 from watho/fix_error_on_delete_attachment 2024-02-21 16:34:21 +08:00
package-lock.json fix: add dep glob 2023-12-02 12:59:46 +08:00
package.json fix: add dep glob 2023-12-02 12:59:46 +08:00
README.md fixed https://gitea.com/actions/gitea-release-action/issues/1 2024-02-21 16:31:05 +08:00

Gitea Release action

An action to support publishing release to Gitea.

Inputs

The following are optional as step.with keys

Name Type Description
server_url String the base url of the gitea API. Defaults to github.server_url
body String Text communicating notable changes in this release
body_path String Path to load text communicating notable changes in this release
draft Boolean Creates a draft release. Defaults to false
prerelease Boolean Indicator of whether or not is a prerelease
files String Newline-delimited globs of paths to assets to upload for release
name String Name of the release. Defaults to tag name
tag_name String Name of a tag. Defaults to github.ref_name
repository String Name of a target repository in <owner>/<repo> format. Defaults to github.repository
token String Gitea Token. Defaults to ${{ github.token }}
target_commitish String Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA.

Example usage

uses: akkuman/gitea-release-action@v1
env:
  NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
  files: |-
    bin/**    

If you want to ignore ssl verify error, you can set env NODE_TLS_REJECT_UNAUTHORIZED=false

References