Skip to content

Commit

Permalink
Log error details when action failed
Browse files Browse the repository at this point in the history
  • Loading branch information
kiootic committed Aug 8, 2024
1 parent e703229 commit 90407fc
Show file tree
Hide file tree
Showing 9 changed files with 108 additions and 96 deletions.
60 changes: 31 additions & 29 deletions setup-android/dist/main.js

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

4 changes: 2 additions & 2 deletions setup-android/dist/main.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions setup-android/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as core from "@actions/core";
import { inspect } from "util";
import { setupAndroid } from "./index";

async function run() {
Expand All @@ -8,6 +9,7 @@ async function run() {

await setupAndroid(acceptLicenses, packages);
} catch (error) {
core.info(inspect(error));
core.setFailed(`Action failed: ${error}`);
}
}
Expand Down
60 changes: 31 additions & 29 deletions setup-app-center/dist/main.js

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

4 changes: 2 additions & 2 deletions setup-app-center/dist/main.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions setup-app-center/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as core from "@actions/core";
import { inspect } from "util";
import { setupAppCenter } from "./index";

async function run() {
Expand All @@ -9,6 +10,7 @@ async function run() {

await setupAppCenter(versionSpec);
} catch (error) {
core.info(inspect(error));
core.setFailed(`Action failed: ${error}`);
}
}
Expand Down
Loading

0 comments on commit 90407fc

Please sign in to comment.