Skip to content

Commit bfae622

Browse files
upload-meta-quest-build@v1.0.0 (#1)
- Initial Release! 🎉🚀
1 parent f5aef17 commit bfae622

File tree

11 files changed

+28716
-2
lines changed

11 files changed

+28716
-2
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @buildalon/buildalon

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,53 @@
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+
[![Discord](https://img.shields.io/discord/939721153688264824.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](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.

action.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: 'Buildalon Upload Meta Quest Build'
2+
description: 'A GitHub action for uploading a Meta Quest app to the Meta Quest store.'
3+
branding:
4+
icon: 'upload-cloud'
5+
color: 'red'
6+
inputs:
7+
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.'
9+
required: true
10+
appId:
11+
description: 'Required. Specifies the ID of your app. Obtained from the API tab of your app in the Oculus Dashboard.'
12+
required: true
13+
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.'
15+
required: false
16+
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.'
18+
required: false
19+
apkPath:
20+
description: 'Required. Specifies the path to the APK file to upload.'
21+
required: true
22+
assetsDir:
23+
description: 'Optional Specifies the path to the directory with DLCs for this build.'
24+
required: false
25+
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.'
30+
required: false
31+
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.'
33+
required: false
34+
default: 'ALPHA'
35+
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.'
37+
required: false
38+
languagePacksDir:
39+
description: 'Optional. The path to the directory that contains language packs.'
40+
required: false
41+
debugSymbolsDir:
42+
description: 'Optional. The path to the directory that contains debug symbol files.'
43+
required: false
44+
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.'
46+
required: false
47+
outputs:
48+
build_id:
49+
description: 'The ID of the build that was uploaded.'
50+
runs:
51+
using: 'node20'
52+
main: 'dist/index.js'

0 commit comments

Comments
 (0)