Skip to content

cdmvision/action-upm-publish

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

Repository files navigation

Unity Package Publish

Publishes Unity package using Packages/com.mycompany.mypackage folder to create upm branch with version tag. Therefore, you can import the package using Unity Package Manager with your GitHub repository url with version specified.

Usage

Use the action inside your workflow yaml file like this:

...
- name: Publish Unity package
    uses: cdmvision/action-upm-publish@v1
    with: 
        name: 'com.mycompany.mypackage'
        upmBranch: 'upm'
...

See real world example.

Input Parameters

  • name: Name of the package from Packages/package.json
  • upmBranch: Name of the branch that the package will be published. (Default: 'upm')
  • versionPostfix: This will be added end of the version string. i.e. 1.5.0-postfix (Default: '')