Skip to content

VRLabs/VRCTools-Packaging-Action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VRC Packaging Action

Generic badge Generic badge

Generic badge Generic badge

GitHub Action to package Unity assets in both unitypackage and vcc package formats. It is based on the VRLabs VRC Packaging Tool.


Inputs

path

Required The path to the package folder.

outputPath

Required The output directory path.

releaseUrl

The release URL to set in the package.json.

unityReleaseUrl

The release URL to set in the package.json for the unitypackage version.

releaseVersion

The version to set in the package.json. If not specified it will be taken from the package.json.

noVcc

Skips the build of the vcc package, the package.json will not contain an url for the unitypackage version.

noUnityPackage

Skips the build of the unitypackage.

customJsonFields

Customized fields to add to the package.json, in the form of a list of key=value

Outputs

vccPackagePath

The path of the exported vcc package.

unityPackagePath

The path of the exported unitypackage.

serverPackageJsonPath

The path of the exported server-package.json. contains some more informations compared to the one included in the packages, useful for repository listings

Example usage

uses: VRLabs/VRCTools-Packaging-Action@v1
with:
  path: 'Path/To/Asset'
  outputPath: 'Packages'
  releaseUrl: 'https://url/to/package.id-x.x.x.zip'

VCC only example

uses: VRLabs/VRCTools-Packaging-Action@v1
with:
  path: 'Path/To/Asset'
  outputPath: 'Packages'
  releaseUrl: 'https://url/to/package.id-x.x.x.zip'
  noUnityPackage: 'true'

Example that includes extra fields to package.json

uses: VRLabs/VRCTools-Packaging-Action@v1
with:
  path: 'Path/To/Asset'
  outputPath: 'Packages'
  releaseUrl: 'https://url/to/package.id-x.x.x.zip'
  customJsonFields: |
    "changelogUrl=https://link.to.changelog"
    "category=essentials"

Contributors

License

VRLabs VRC Packaging Action is available as-is under MIT. For more information see LICENSE.

Contact us

If you need help, our support channel is on Discord.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published