-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
73 lines (64 loc) · 1.73 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: vrc-packaging-action
description: 'Action to package assets in both unitypackage and vcc package formats.'
author: 'VRLabs'
branding:
icon: package
color: blue
inputs:
path:
description: 'unity asset path'
required: true
outputPath:
description: 'output directory path for packages'
required: true
releaseUrl:
description: 'The release url to set in the package.json'
required: false
default: ''
unityReleaseUrl:
description: 'The unity release url to set in the package.json'
required: false
default: ''
releaseVersion:
description: 'The release version to set in the package.json'
required: false
default: ''
noVcc:
description: 'Do not build the vcc package'
required: false
default: 'false'
noUnityPackage:
description: 'Do not build the unitypackage'
required: false
default: 'false'
customJsonFields:
description: 'Custom json fields'
required: false
default: ''
outputs:
vccPackagePath:
description: 'Path of the exported vcc package.'
unityPackagePath:
description: 'Path of the exported unitypackage.'
serverPackageJsonPath:
description: 'Path of the exported server-package.json.'
runs:
using: 'docker'
image: 'docker://ghcr.io/vrlabs/vrctools-packaging:1'
args:
- ${{ inputs.path }}
- ${{ inputs.outputPath }}
- '--releaseUrl'
- ${{ inputs.releaseUrl }}
- '--unityReleaseUrl'
- ${{ inputs.unityReleaseUrl }}
- '--releaseVersion'
- ${{ inputs.releaseVersion }}
- '--novcc'
- ${{ inputs.noVcc }}
- '--nounity'
- ${{ inputs.NoUnityPackage }}
- '--customJsonFields'
- ${{ inputs.customJsonFields }}
- '--action'
- 'true'