Skip to content

vrc-packaging-action

Actions
Action to package assets in both unitypackage and vcc package formats
v1.1.0
Latest
Star (1)

Tags

 (1)

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.

vrc-packaging-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Action to package assets in both unitypackage and vcc package formats
v1.1.0
Latest

Tags

 (1)

vrc-packaging-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.