Skip to content

Commit

Permalink
upload-meta-quest-build@v2.1.1
Browse files Browse the repository at this point in the history
- fix input parameter cli syntax
  • Loading branch information
StephenHodgson committed Dec 11, 2024
1 parent c4cc7ef commit d1bb070
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32871,10 +32871,10 @@ const main = async () => {
throw Error('Missing ageGroup input. Must be one of: TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN.');
}
core.debug(`ageGroup: ${ageGroup}`);
args.push(`--age_group`, ageGroup);
args.push(`--age-group`, ageGroup);
const appId = core.getInput(`appId`, { required: true });
core.debug(`appId: ${appId}`);
args.push(`--app_id`, appId);
args.push(`--app-id`, appId);
const appSecret = core.getInput(`appSecret`);
if (!appSecret) {
const token = core.getInput(`token`);
Expand All @@ -32884,7 +32884,7 @@ const main = async () => {
args.push(`--token`, token);
}
else {
args.push(`--app_secret`, appSecret);
args.push(`--app-secret`, appSecret);
}
const buildDir = core.getInput(`buildDir`);
if (buildDir) {
Expand Down Expand Up @@ -32944,7 +32944,7 @@ const main = async () => {
: await findSpecificPath(core.getInput(`debugSymbolsDir`));
if (debugSymbolsDir) {
core.debug(`debugSymbolsDir: ${debugSymbolsDir}`);
args.push(`--debug_symbols_dir`, debugSymbolsDir);
args.push(`--debug-symbols-dir`, debugSymbolsDir);
}
const debugSymbolsPattern = core.getInput(`debugSymbolsPattern`);
if (debugSymbolsPattern) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upload-meta-quest-build",
"version": "2.1.0",
"version": "2.1.1",
"description": "A GitHub Action for uploading a Meta Quest app to the Meta Quest store.",
"author": "RageAgainstThePixel",
"repository": {
Expand Down Expand Up @@ -38,4 +38,4 @@
"bundle": "ncc build src/index.ts -o dist --source-map --license licenses.txt",
"clean": "npm install && shx rm -rf dist/ out/ node_modules/ && npm ci"
}
}
}
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const main = async () => {
throw Error('Missing ageGroup input. Must be one of: TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN.');
}
core.debug(`ageGroup: ${ageGroup}`);
args.push(`--age_group`, ageGroup);
args.push(`--age-group`, ageGroup);
const appId = core.getInput(`appId`, { required: true });
core.debug(`appId: ${appId}`);
args.push(`--app_id`, appId);
args.push(`--app-id`, appId);
const appSecret = core.getInput(`appSecret`);
if (!appSecret) {
const token = core.getInput(`token`);
Expand All @@ -25,7 +25,7 @@ const main = async () => {
}
args.push(`--token`, token);
} else {
args.push(`--app_secret`, appSecret);
args.push(`--app-secret`, appSecret);
}
const buildDir = core.getInput(`buildDir`);
if (buildDir) {
Expand Down Expand Up @@ -84,7 +84,7 @@ const main = async () => {
: await findSpecificPath(core.getInput(`debugSymbolsDir`));
if (debugSymbolsDir) {
core.debug(`debugSymbolsDir: ${debugSymbolsDir}`);
args.push(`--debug_symbols_dir`, debugSymbolsDir);
args.push(`--debug-symbols-dir`, debugSymbolsDir);
}
const debugSymbolsPattern = core.getInput(`debugSymbolsPattern`);
if (debugSymbolsPattern) {
Expand Down

0 comments on commit d1bb070

Please sign in to comment.