feat: Use Bash as runtime

This commit is contained in:
2024-10-29 21:07:15 +13:00
parent dbfb2c03bb
commit d5932e3574
9 changed files with 188 additions and 315 deletions

View File

@@ -2,7 +2,7 @@
<img width="560" height="260" src="docs/image/github_gitea_actions.jpg" alt="github gitea actions">
</p>
# Updating a package in the Gitea system using GitHub Actions
# Add/Update a Composer package in Gitea
[![License](https://img.shields.io/github/license/rosven9856/gitea-package-action)](https://github.com/rosven9856/gitea-package-action/blob/master/LICENSE)
@@ -13,10 +13,10 @@ This action will update the package version in the Gitea system using the API an
```yaml
steps:
- uses: rosven9856/gitea-package-action@0.1.0
- uses: https://hub.cybercinch.nz/gitea-composer-upload@main
with:
gitea_instance_base_url: "https://gitea_instance_url"
gitea_access_token: "${{ secrets._GITEA_ACCESS_TOKEN }}"
gitea_owner: "owner"
gitea_repository: "repository"
gitea_package_registry: "composer"
base_url: "https://gitea_instance_url"
access_token: "${{ secrets._G_TOKEN }}"
username: "${{ secrets._G_USERNAME }}"
owner: "owner"
package_version: "${{ env.GITHUB_REF_NAME }}"