Rebase on top of detsys-ts for abstracting over install.determinate.systems #74
18
dist/index.js
generated
vendored
18
dist/index.js
generated
vendored
|
@ -98318,16 +98318,18 @@ function action_input_bool(name) {
|
|||
async function main() {
|
||||
const installer = new NixInstallerAction();
|
||||
try {
|
||||
const isPost = core.getState("isPost");
|
||||
core.saveState("isPost", "true");
|
||||
throw new Error("testing busted run");
|
||||
/*
|
||||
const isPost = actions_core.getState("isPost");
|
||||
actions_core.saveState("isPost", "true");
|
||||
if (isPost !== "true") {
|
||||
await installer.detectAndForceDockerShim();
|
||||
await installer.install();
|
||||
}
|
||||
else {
|
||||
await installer.cleanupDockerShim();
|
||||
await installer.report_overall();
|
||||
await installer.detectAndForceDockerShim();
|
||||
await installer.install();
|
||||
} else {
|
||||
await installer.cleanupDockerShim();
|
||||
await installer.report_overall();
|
||||
}
|
||||
*/
|
||||
}
|
||||
catch (error) {
|
||||
if (error instanceof Error) {
|
||||
|
|
14
dist/main.js
generated
vendored
14
dist/main.js
generated
vendored
|
@ -781,16 +781,18 @@ function action_input_bool(name) {
|
|||
async function main() {
|
||||
const installer = new NixInstallerAction();
|
||||
try {
|
||||
throw new Error("testing busted run");
|
||||
/*
|
||||
const isPost = actions_core.getState("isPost");
|
||||
actions_core.saveState("isPost", "true");
|
||||
if (isPost !== "true") {
|
||||
await installer.detectAndForceDockerShim();
|
||||
await installer.install();
|
||||
}
|
||||
else {
|
||||
await installer.cleanupDockerShim();
|
||||
await installer.report_overall();
|
||||
await installer.detectAndForceDockerShim();
|
||||
await installer.install();
|
||||
} else {
|
||||
await installer.cleanupDockerShim();
|
||||
await installer.report_overall();
|
||||
}
|
||||
*/
|
||||
}
|
||||
catch (error) {
|
||||
if (error instanceof Error) {
|
||||
|
|
|
@ -1025,6 +1025,9 @@ async function main(): Promise<void> {
|
|||
const installer = new NixInstallerAction();
|
||||
|
||||
try {
|
||||
throw new Error("testing busted run");
|
||||
|
||||
/*
|
||||
const isPost = actions_core.getState("isPost");
|
||||
actions_core.saveState("isPost", "true");
|
||||
if (isPost !== "true") {
|
||||
|
@ -1034,6 +1037,7 @@ async function main(): Promise<void> {
|
|||
await installer.cleanupDockerShim();
|
||||
await installer.report_overall();
|
||||
}
|
||||
*/
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
actions_core.setFailed(error);
|
||||
|
|
Loading…
Reference in a new issue