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

7
dist/index.js generated vendored
View file

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

7
dist/main.js generated vendored
View file

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

View file

@ -1035,10 +1035,12 @@ 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();
}
await installer.idslib.complete();
}
// eslint-disable-next-line github/no-then