Rebase on top of detsys-ts for abstracting over install.determinate.systems #74

Merged
grahamc merged 13 commits from detsys-ts into main 2024-04-11 15:58:56 +00:00
3 changed files with 15 additions and 7 deletions
Showing only changes of commit 8c4a891060 - Show all commits

5
dist/index.js generated vendored
View file

@ -98330,11 +98330,14 @@ async function main() {
}
}
catch (error) {
if (error instanceof Error)
if (error instanceof Error) {
core.setFailed(error);
}
}
finally {
await installer.idslib.complete();
}
}
// eslint-disable-next-line github/no-then
main().catch((error) => {
// eslint-disable-next-line no-console

5
dist/main.js generated vendored
View file

@ -793,11 +793,14 @@ async function main() {
}
}
catch (error) {
if (error instanceof Error)
if (error instanceof Error) {
actions_core.setFailed(error);
}
}
finally {
await installer.idslib.complete();
}
}
// eslint-disable-next-line github/no-then
main().catch((error) => {
// eslint-disable-next-line no-console

View file

@ -1035,11 +1035,13 @@ async function main(): Promise<void> {
await installer.report_overall();
}
} catch (error) {
if (error instanceof Error) actions_core.setFailed(error);
if (error instanceof Error) {
actions_core.setFailed(error);
}
} finally {
await installer.idslib.complete();
}
}
// eslint-disable-next-line github/no-then
main().catch((error) => {