Docs(upload-release-asset): add documentation how to use action #4
@@ -2,6 +2,19 @@
|
|||||||
|
|
||||||
The `upload-release-asset` action uploads a given file as an asset to a release.
|
The `upload-release-asset` action uploads a given file as an asset to a release.
|
||||||
|
|
||||||
|
## Use this action
|
||||||
|
|
||||||
|
To use this action, simply add following step:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- uses: https://gitea.jcloud-services.ddns.net/jCloud/actions/upload-release-asset@60d1ae076c2e1802e4bc9461e26c42c557652811
|
||||||
|
with:
|
||||||
|
file: YOUR_FILE_PATH
|
||||||
|
release: YOUR_RELEASE_ID
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: YOUR_TOKEN
|
||||||
|
```
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
### `file`
|
### `file`
|
||||||
|
|||||||
Reference in new issue
Block a user