Skip to content

Commit 0053560

Browse files
upload-meta-quest-build@v2.1.0 (#19)
- Added additional args for uploading a build directory and symbols zip - Added glob pattern matching for path inputs - Convert to TypeScript
1 parent e403621 commit 0053560

File tree

10 files changed

+24539
-19178
lines changed

10 files changed

+24539
-19178
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,23 @@ steps:
3030
3131
[Oculus Platform Utility docs](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/)
3232
33-
| Name | Description | Default | Required |
33+
| Name | Description | Required | Default |
3434
| ---- | ----------- | ------- |----------|
35-
| `ageGroup` | Age group of the build. This can be `TEENS_AND_ADULTS`, `MIXED_AGES`, or `CHILDREN`. | | Yes |
36-
| `appId` | Your App ID from the meta store | | Yes |
37-
| `appSecret` | Your App secret from the meta store | | Must provide appSecret or token |
38-
| `token` | The App ID from the meta store | | Must provide appSecret or token |
39-
| `apkPath` | Path to the APK to upload | | Yes |
40-
| `obbPath` | Path to an obb file to upload | | No |
41-
| `assetsDir` | DLC Content to upload | | No |
42-
| `releaseChannel` | Which release channel to upload the apk to | `ALPHA` | No |
43-
| `releaseNotes` | Release notes to upload | | No |
44-
| `assetFilesConfig` | DLC Config | | No |
45-
| `languagePacksDir` | Additional languages | | No |
46-
| `debugSymbolsDir` | Path to the folder that contains the debug symbol file(s) | | No |
47-
| `debugSymbolsPattern` | Specifies a file pattern that matches the files names of all debug symbol files | | No |
35+
| `ageGroup` | Age group of the build. This can be `TEENS_AND_ADULTS`, `MIXED_AGES`, or `CHILDREN`. (If not specified, the upload will go into “draft” status, rather than failing). For more information, see [Age Group Self-Certification and Youth Requirements](https://developer.oculus.com/resources/age-groups). | true | |
36+
| `appId` | Specifies the ID of your app. Obtained from the API tab of your app in the Oculus Dashboard. | true | |
37+
| `appSecret` |Specifies the app secret. Obtained from the API tab of your app in the Oculus developer dashboard. | Must provide `appSecret` or `token` | |
38+
| `token` | A user token obtained by the get-access-token command or from the API tab of your app in the Oculus developer dashboard. | Must provide `appSecret` or `token` | |
39+
| `apkPath` | Specifies the path to the APK to upload. | true | |
40+
| `obbPath` | Specifies the path to the Expansion file (OBB) to upload. | false | |
41+
| `buildDir` | Specifies the path to the directory that contains the build files. If specified, the plugin will look for the APK and OBB files in this directory. | false | |
42+
| `assetsDir` | Specifies the path to the directory with DLCs for this build. | false | |
43+
| `assetFilesConfig` | Specifies the path to the file that configures required assets or associates DLC assets with in-app purchases. | false | |
44+
| `releaseChannel` | Specifies the release channel for uploading the build. Release channel names are ***not*** case-sensitive. | false | `ALPHA` |
45+
| `releaseNotes` | Specifies the release note text shown to users. Encodes double quotes as `\"`. Encode newlines as `\n`. | false | |
46+
| `languagePacksDir` | The path to the directory that contains language packs. | false | |
47+
| `debugSymbolsDir` | Path to the folder that contains the debug symbol file(s). | false | |
48+
| `debugSymbolsZip` | The path to the debug symbol zip file. If provided this will be used instead of the `debugSymbolsDir` and will unzip before uploading. | false | |
49+
| `debugSymbolsPattern` | A pattern sequence that can match the filenames of all the debug symbol files. An asterisk may be used to indicate a wildcard, for example, `*.sym.so`. | false | |
4850

4951
### outputs
5052

action.yml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,44 +5,50 @@ branding:
55
color: blue
66
inputs:
77
ageGroup:
8-
description: 'Required. (If not specified, the upload will go into “draft” status, rather than failing.) Age group of the build. This can be TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN. For more information, see Age Group Self-Certification and Youth Requirements.'
8+
description: 'Age group of the build. This can be TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN. (If not specified, the upload will go into “draft” status, rather than failing). For more information, see Age Group Self-Certification and Youth Requirements.'
99
required: true
1010
appId:
11-
description: 'Required. Specifies the ID of your app. Obtained from the API tab of your app in the Oculus Dashboard.'
11+
description: 'Specifies the ID of your app. Obtained from the API tab of your app in the Oculus Dashboard.'
1212
required: true
1313
appSecret:
14-
description: 'Either app secret or user token required. Specifies the app secret. Obtained from the API tab of your app in the Oculus developer dashboard.'
14+
description: 'Specifies the app secret. Obtained from the API tab of your app in the Oculus developer dashboard. Either app secret or user token required.'
1515
required: false
1616
token:
17-
description: 'Either app secret or user token required. A user token obtained by the get-access-token command or from the API tab of your app in the Oculus developer dashboard.'
17+
description: 'A user token obtained by the get-access-token command or from the API tab of your app in the Oculus developer dashboard. Either app secret or user token required.'
1818
required: false
1919
apkPath:
20-
description: 'Required. Specifies the path to the APK file to upload.'
21-
required: true
20+
description: 'Specifies the path to the APK to upload. Either apkPath or buildDir is required.'
21+
required: false
22+
obbPath:
23+
description: 'Specifies the path to the Expansion file (OBB) to upload.'
24+
required: false
25+
buildDir:
26+
description: 'Specifies the path to the directory that contains the build files. If specified, the plugin will look for the APK and OBB files in this directory. Either apkPath or buildDir is required.'
27+
required: false
2228
assetsDir:
23-
description: 'Optional Specifies the path to the directory with DLCs for this build.'
29+
description: 'Specifies the path to the directory with DLCs for this build.'
2430
required: false
2531
assetFilesConfig:
26-
description: 'Optional. Specifies the path to the file that configures required assets or associates DLC assets with in-app purchases.'
27-
required: false
28-
obbPath:
29-
description: 'Optional. Specifies the path to the Expansion file (OBB) to upload.'
32+
description: 'Specifies the path to the file that configures required assets or associates DLC assets with in-app purchases.'
3033
required: false
3134
releaseChannel:
32-
description: 'Defaults to ALPHA. Specifies the release channel for uploading the build. Use store for the "Production (AppLab)" or "Production (Store)" channels. Release channel names are not case-sensitive.'
35+
description: 'Specifies the release channel for uploading the build. Use store for the "Production (AppLab)" or "Production (Store)" channels. Release channel names are not case-sensitive. Defaults to ALPHA.'
3336
required: false
3437
default: 'ALPHA'
3538
releaseNotes:
36-
description: 'Optional. Specifies the release note text shown to users. Enclose the text in quotation marks. Encodes double quotes as \". Encode newlines as \n.'
39+
description: 'Specifies the release note text shown to users. Encodes double quotes as `\"`. Encode newlines as `\n`.'
3740
required: false
3841
languagePacksDir:
39-
description: 'Optional. The path to the directory that contains language packs.'
42+
description: 'The path to the directory that contains language packs.'
4043
required: false
4144
debugSymbolsDir:
42-
description: 'Optional. The path to the directory that contains debug symbol files.'
45+
description: 'Path to the folder that contains the debug symbol file(s).'
46+
required: false
47+
debugSymbolsZip:
48+
description: 'The path to the debug symbol zip file. If provided this will be used instead of the debugSymbolsDir and will unzip before uploading.'
4349
required: false
4450
debugSymbolsPattern:
45-
description: 'Optional. A pattern sequence that can match the filenames of all the debug symbol files. An asterisk may be used to indicate a wildcard, for example, *.sym.so.'
51+
description: 'A pattern sequence that can match the filenames of all the debug symbol files. An asterisk may be used to indicate a wildcard, for example, *.sym.so.'
4652
required: false
4753
outputs:
4854
build_id:

0 commit comments

Comments
 (0)