https://github.com/buildalon/upm-config
A GitHub Action for setting Unity Engine UPM private scoped registry credentials in CI/CD workflows
https://github.com/buildalon/upm-config
action automation buildlaon cd ci ci-cd game-ci game-development github-actions private-scoped-registry unity unity3d upm upm-config upm-private-scoped-registry verdaccio
Last synced: 3 months ago
JSON representation
A GitHub Action for setting Unity Engine UPM private scoped registry credentials in CI/CD workflows
- Host: GitHub
- URL: https://github.com/buildalon/upm-config
- Owner: buildalon
- License: mit
- Created: 2024-08-07T23:19:47.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T02:21:56.000Z (3 months ago)
- Last Synced: 2025-01-31T03:35:30.975Z (3 months ago)
- Topics: action, automation, buildlaon, cd, ci, ci-cd, game-ci, game-development, github-actions, private-scoped-registry, unity, unity3d, upm, upm-config, upm-private-scoped-registry, verdaccio
- Language: TypeScript
- Homepage: https://buildalon.com
- Size: 32.2 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Buildalon UPM Config
[](https://discord.gg/VM9cWJ9rjH) [](https://github.com/marketplace?query=buildalon) [](https://github.com/buildalon/upm-config/actions/workflows/validate.yml)
A GitHub Action for setting Unity Engine UPM private scoped registry credentials in CI/CD workflows.
## How to use
### workflow
```yaml
steps:
- uses: buildalon/upm-config@v1
with:
registry-url: 'http://upm.registry.com:4873'
username: ${{ secrets.UPM_USERNAME }}
password: ${{ secrets.UPM_PASSWORD }}
```### inputs
| name | description | required |
| ---- | ----------- | -------- |
| `registry-url` | The URL of the private scoped registry. | true |
| `auth-token` | The authentication token for the private scoped registry. | Required if username and password are not provided. |
| `username` | The username for the private scoped registry. | Required if auth-token is not provided. |
| `password` | The password for the private scoped registry. | Required if auth-token is not provided. |
| `always-auth` | Whether to always authenticate with the private scoped registry. Defaults to `true`. | false |
| `overwrite` | Whether to overwrite the existing configuration file. | false |