No description
Find a file
2025-10-31 17:01:42 +01:00
action.yml Update action.yml 2025-10-30 17:29:27 +01:00
LICENSE Add LICENSE 2025-10-27 23:52:09 +01:00
README.md Add README.md 2025-10-27 23:49:17 +01:00
renovate.json Migrate config renovate.json 2025-10-31 16:00:59 +00:00

Forgejo Release Action

This action creates a release tag and uploads an asset to a Forgejo release using the Forgejo API.

Inputs

Name Description Required
token Forgejo API token Yes
repo Repository in owner/name format Yes
tag Release tag name Yes
asset_path Path to the asset file to upload Yes
asset_name Name of the asset in the release Yes
server_url Base URL of the Forgejo instance Yes

Example Usage

- uses: yourname/forgejo-release-action@v1
  with:
    token: ${{ secrets.RELEASE_TOKEN }}
    repo: 'yourname/yourrepo'
    tag: 'v1.0.0'
    asset_path: 'build/output.zip'
    asset_name: 'output-v1.0.0.zip'
    server_url: ${{ env.GITHUB_SERVER_URL }}