No description
|
|
||
|---|---|---|
| action.yml | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
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 }}