Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- fix run_app_build path escaping
  • Loading branch information
StephenHodgson committed Dec 24, 2024
1 parent d38032a commit 32cfa9f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26485,7 +26485,7 @@ async function getCommandArgs() {
let appBuildPath = core.getInput('app_build');
if (appBuildPath) {
await fs.promises.access(appBuildPath, fs.constants.R_OK);
args.push('+run_app_build', `"${appBuildPath}"`, '+quit');
args.push('+run_app_build', appBuildPath, '+quit');
return args;
}
let workshopItemPath = core.getInput('workshop_item');
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-steam",
"version": "1.0.2",
"version": "1.0.3",
"description": "A GitHub Action for uploading an app build or workshop item to Steam.",
"author": "buildalon",
"repository": {
Expand Down Expand Up @@ -36,4 +36,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"
}
}
}
2 changes: 1 addition & 1 deletion src/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function getCommandArgs(): Promise<string[]> {
let appBuildPath = core.getInput('app_build');
if (appBuildPath) {
await fs.promises.access(appBuildPath, fs.constants.R_OK);
args.push('+run_app_build', `"${appBuildPath}"`, '+quit');
args.push('+run_app_build', appBuildPath, '+quit');
return args;
}
let workshopItemPath = core.getInput('workshop_item');
Expand Down

0 comments on commit 32cfa9f

Please sign in to comment.