1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-go synced 2025-06-17 23:56:05 +02:00

Add installer

This commit is contained in:
Danny McCormick 2019-06-20 13:28:39 -04:00
parent 886b49b2b3
commit f34fd68566
5 changed files with 323 additions and 6 deletions

View file

@ -16,7 +16,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(require("@actions/core"));
// import * as installer from './installer';
const installer = __importStar(require("./installer"));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
@ -26,7 +26,7 @@ function run() {
//
const version = core.getInput('version');
if (version) {
// await installer.getGo(version);
yield installer.getGo(version);
}
// TODO: setup proxy from runner proxy config
// TODO: problem matchers registered