Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Buildalon UPM Config

Discord marketplace validate

A GitHub Action for setting Unity Engine UPM private scoped registry credentials in CI/CD workflows.

Writes an [npmAuth."<registry-url>"] entry to the user's .upmconfig.toml ($HOME on macOS and Linux, %USERPROFILE% on Windows) after validating the token against the registry.

How to use

workflow

steps:
  - uses: buildalon/upm-config@v1
    with:
      registry-url: 'http://upm.registry.com:4873'
      username: ${{ secrets.UPM_USERNAME }}
      password: ${{ secrets.UPM_PASSWORD }}

or with an existing auth token:

steps:
  - uses: buildalon/upm-config@v1
    with:
      registry-url: 'http://upm.registry.com:4873'
      auth-token: ${{ secrets.UPM_AUTH_TOKEN }}

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. Defaults to false. false

Releases

Used by

Contributors

Languages