Remove workaround for setOutput

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-10-12 11:30:30 +02:00
parent 90a1e4619e
commit 40fefd8a58
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
5 changed files with 9 additions and 47 deletions

View file

@ -5,7 +5,6 @@ import * as tmp from 'tmp';
import * as uuid from 'uuid';
import * as buildx from './buildx';
import * as core from '@actions/core';
import {issueCommand} from '@actions/core/lib/command';
let _tmpDir: string;
export const osPlat: string = os.platform();
@ -104,8 +103,3 @@ export const asyncForEach = async (array, callback) => {
await callback(array[index], index, array);
}
};
// FIXME: Temp fix https://github.com/actions/toolkit/issues/777
export function setOutput(name: string, value: unknown): void {
issueCommand('set-output', {name}, value);
}