2023-04-16 15:02:22 +08:00
|
|
|
# Release Action
|
|
|
|
|
|
|
|
This action will help Gitea users to publish release and attachments.
|
2023-05-14 23:17:39 +08:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
name: release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Use Go Action
|
|
|
|
id: use-go-action
|
|
|
|
uses: https://gitea.com/actions/release-action@main
|
|
|
|
with:
|
|
|
|
files: |-
|
|
|
|
bin/**
|
|
|
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
|
|
```
|