chore: remove workaround for setOutput (#374)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-10-16 04:33:00 +02:00
committed by GitHub
parent 0ca84fc3f8
commit b508e2e3ef
5 changed files with 4 additions and 45 deletions
-6
View File
@@ -1,6 +1,5 @@
import * as os from 'os';
import * as core from '@actions/core';
import {issueCommand} from '@actions/core/lib/command';
export const osPlat: string = os.platform();
export const osArch: string = os.arch();
@@ -22,8 +21,3 @@ export async function getInputs(): Promise<Inputs> {
installOnly: core.getBooleanInput('install-only')
};
}
// FIXME: Temp fix https://github.com/actions/toolkit/issues/777
export function setOutput(name: string, value: unknown): void {
issueCommand('set-output', {name}, value);
}