|
1 |
| -# upload-meta-quest-build |
2 |
| -A GitHub Action for uploading a Meta Quest app to the Meta Quest store. |
| 1 | +# Buildalon Upload Meta Quest Build |
| 2 | + |
| 3 | +[](https://discord.gg/VM9cWJ9rjH) |
| 4 | + |
| 5 | +A GitHub Action for [uploading a Meta Quest app to the Meta Quest store](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/#upload-quest). |
| 6 | + |
| 7 | +## How to use |
| 8 | + |
| 9 | +* [Get Credentials](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/#credentials) |
| 10 | +* Set repo secrets |
| 11 | + * `META_APP_ID` |
| 12 | + * `META_APP_SECRET` |
| 13 | + |
| 14 | +### workflow |
| 15 | + |
| 16 | +```yaml |
| 17 | +steps: |
| 18 | + # setup ovr platform util |
| 19 | + - uses: buildalon/setup-ovr-platform-util@v1 |
| 20 | + # upload meta quest build |
| 21 | + - uses: buildalon/upload-meta-quest-build@v2 |
| 22 | + id: upload |
| 23 | + with: |
| 24 | + appId: ${{ secrets.META_APP_ID }} |
| 25 | + appSecret: ${{ secrets.META_APP_SECRET }} |
| 26 | + apkPath: 'path/to/apk' |
| 27 | + # use uploaded meta quest build id |
| 28 | + - run: 'echo ${{ steps.upload.build_id }}' |
| 29 | +``` |
| 30 | +
|
| 31 | +### inputs |
| 32 | +
|
| 33 | +[Oculus Platform Utility docs](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/) |
| 34 | +
|
| 35 | +| Name | Description | Default | Required | |
| 36 | +| ---- | ----------- | ------- |----------| |
| 37 | +| `ageGroup` | Age group of the build. This can be `TEENS_AND_ADULTS`, `MIXED_AGES`, or `CHILDREN`. | | Yes | |
| 38 | +| `appId` | Your App ID from the meta store | | Yes | |
| 39 | +| `appSecret` | Your App secret from the meta store | | Must provide appSecret or token | |
| 40 | +| `token` | The App ID from the meta store | | Must provide appSecret or token | |
| 41 | +| `apkPath` | Path to the APK to upload | | Yes | |
| 42 | +| `obbPath` | Path to an obb file to upload | | No | |
| 43 | +| `assetsDir` | DLC Content to upload | | No | |
| 44 | +| `releaseChannel` | Which release channel to upload the apk to | `ALPHA` | No | |
| 45 | +| `releaseNotes` | Release notes to upload | | No | |
| 46 | +| `assetFilesConfig` | DLC Config | | No | |
| 47 | +| `languagePacksDir` | Additional languages | | No | |
| 48 | +| `debugSymbolsDir` | Path to the folder that contains the debug symbol file(s) | | No | |
| 49 | +| `debugSymbolsPattern` | Specifies a file pattern that matches the files names of all debug symbol files | | No | |
| 50 | + |
| 51 | +### outputs |
| 52 | + |
| 53 | +* `build_id`: The uploaded build id. |
0 commit comments