Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/VAllens/gitea-publish-generic-packages
An action to support publishing generic packages to Gitea. More: https://docs.gitea.com/usage/packages/generic#publish-a-package
https://github.com/VAllens/gitea-publish-generic-packages
actions generic-packages gitea-actions github-actions javascript
Last synced: about 2 months ago
JSON representation
An action to support publishing generic packages to Gitea. More: https://docs.gitea.com/usage/packages/generic#publish-a-package
- Host: GitHub
- URL: https://github.com/VAllens/gitea-publish-generic-packages
- Owner: VAllens
- License: mit
- Created: 2024-01-17T11:31:54.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-17T11:47:28.000Z (12 months ago)
- Last Synced: 2024-08-03T19:08:14.745Z (5 months ago)
- Topics: actions, generic-packages, gitea-actions, github-actions, javascript
- Language: JavaScript
- Homepage:
- Size: 303 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gitea - gitea-publish-generic-packages - An action to support publishing generic packages to Gitea. (Actions)
README
# Gitea publish generic packages action
An action to support publishing generic packages to Gitea.
## Inputs
The following are optional as `step.with` keys
| Name | Type | Optional | Description |
| ----------------- | ------- | -------- | ------------------------------------------------------------------------------------------- |
| `api_url` | String | True | The base gitea API url. Defaults to `github.api_url` |
| `owner` | String | True | Assign an owner to this generic package. Defaults to `github.repository_owner` |
| `package_name` | String | True | Gives the generic package a custom name. Defaults to `github.event.repository.name` |
| `package_version`| String | True | Gives a generic package version. Defaults to `github.ref_name` |
| `files` | String | false | Newline-delimited list of path globs for generic package files to upload |
| `token` | String | false | The Gitea personal access token |## Example usage
```yaml
uses: VAllens/gitea-publish-generic-packages@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
files: |-
bin/**
```If you want to ignore ssl verify error, you can set env `NODE_TLS_REJECT_UNAUTHORIZED=false`
## References
- [actions/gitea-release-action: An action to support publishing release to Gitea.](https://gitea.com/actions/gitea-release-action)
- [Gr3q/gitea-api: Gitea API client.](https://github.com/Gr3q/gitea-api)