https://github.com/vrlabs/vrctools-packaging-action
https://github.com/vrlabs/vrctools-packaging-action
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/vrlabs/vrctools-packaging-action
- Owner: VRLabs
- License: mit
- Created: 2023-08-09T17:20:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T20:08:25.000Z (over 1 year ago)
- Last Synced: 2025-03-08T19:35:12.753Z (over 1 year ago)
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VRC Packaging Action
[](https://github.com/VRLabs/VRCTools-Packaging-Action/releases/latest)
[](https://github.com/VRLabs/VRCTools-Packaging-Action/blob/main/LICENSE)
[](https://discord.vrlabs.dev/)
[](https://patreon.vrlabs.dev/)
GitHub Action to package Unity assets in both `unitypackage` and `vcc` package formats. It is based on the VRLabs [`VRC Packaging Tool`](https://github.com/VRLabs/VRCTools-Packaging).
### ⬇️ [Check out on the Github Action Marketplace](https://github.com/marketplace/actions/vrc-packaging-action)
---
## 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
```yaml
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
```yaml
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`
```yaml
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
* [Cibbi](https://github.com/Cibbi)
* [JelleJurre](https://github.com/jellejurre)
## License
VRLabs VRC Packaging Action is available as-is under MIT. For more information see [LICENSE](https://github.com/VRLabs/VRC-Packaging-Action/blob/main/LICENSE).
## Contact us
If you need help, our support channel is on [Discord](https://discord.vrlabs.dev).
[
](https://vrlabs.dev "VRLabs")
[
](https://discord.vrlabs.dev/ "VRLabs")
[
](https://patreon.vrlabs.dev/ "VRLabs")
[
](https://twitter.com/vrlabsdev "VRLabs")