Skip to content

Commit 11c41f1

Browse files
upload-steam@v2.0.1 (#14)
- guard against exit code 42 (update)
1 parent fd9a570 commit 11c41f1

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28241,7 +28241,7 @@ async function SteamCMD(args) {
2824128241
await printErrorLog();
2824228242
reject(errorDetected);
2824328243
}
28244-
else if (code !== 0) {
28244+
else if (code !== 0 && code !== 42) {
2824528245
await printErrorLog();
2824628246
reject(new Error(`steamcmd failed with exit code ${code}`));
2824728247
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "upload-steam",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A GitHub Action for uploading an app build or workshop item to Steam.",
55
"author": "RageAgainstThePixel",
66
"repository": {
@@ -37,4 +37,4 @@
3737
"bundle": "ncc build src/index.ts -o dist --source-map --license licenses.txt",
3838
"clean": "npm install && shx rm -rf dist/ out/ node_modules/ && npm ci"
3939
}
40-
}
40+
}

src/steamcmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export async function SteamCMD(args: string[]): Promise<string> {
5555
if (errorDetected) {
5656
await printErrorLog();
5757
reject(errorDetected);
58-
} else if (code !== 0) {
58+
} else if (code !== 0 && code !== 42) {
5959
await printErrorLog();
6060
reject(new Error(`steamcmd failed with exit code ${code}`));
6161
} else {

0 commit comments

Comments
 (0)