update README and add actions

This commit is contained in:
Lunny Xiao
2023-05-14 23:17:39 +08:00
parent 489f83257d
commit e177d49a3a
2 changed files with 66 additions and 0 deletions

View File

@@ -1,3 +1,26 @@
# Release Action
This action will help Gitea users to publish release and attachments.
## 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}}'
```