Skip to content

Commit 4b35781

Browse files
Merge pull request #69 from MatteoPologruto/release-v1.2.0
Package action to release version v1.2.0
2 parents 5ccf14d + 5b0a088 commit 4b35781

File tree

13 files changed

+223
-505
lines changed

13 files changed

+223
-505
lines changed

lib/installer.js

+22-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
11
"use strict";
2+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3+
if (k2 === undefined) k2 = k;
4+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5+
}) : (function(o, m, k, k2) {
6+
if (k2 === undefined) k2 = k;
7+
o[k2] = m[k];
8+
}));
9+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10+
Object.defineProperty(o, "default", { enumerable: true, value: v });
11+
}) : function(o, v) {
12+
o["default"] = v;
13+
});
14+
var __importStar = (this && this.__importStar) || function (mod) {
15+
if (mod && mod.__esModule) return mod;
16+
var result = {};
17+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18+
__setModuleDefault(result, mod);
19+
return result;
20+
};
221
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
22+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
323
return new (P || (P = Promise))(function (resolve, reject) {
424
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
525
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
26+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
727
step((generator = generator.apply(thisArg, _arguments || [])).next());
828
});
929
};
10-
var __importStar = (this && this.__importStar) || function (mod) {
11-
if (mod && mod.__esModule) return mod;
12-
var result = {};
13-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
14-
result["default"] = mod;
15-
return result;
16-
};
1730
Object.defineProperty(exports, "__esModule", { value: true });
31+
exports.getProtoc = void 0;
1832
// Load tempDirectory before it gets wiped by tool-cache
1933
let tempDirectory = process.env["RUNNER_TEMP"] || "";
2034
const os = __importStar(require("os"));

lib/main.js

+21-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
"use strict";
2+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3+
if (k2 === undefined) k2 = k;
4+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5+
}) : (function(o, m, k, k2) {
6+
if (k2 === undefined) k2 = k;
7+
o[k2] = m[k];
8+
}));
9+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10+
Object.defineProperty(o, "default", { enumerable: true, value: v });
11+
}) : function(o, v) {
12+
o["default"] = v;
13+
});
14+
var __importStar = (this && this.__importStar) || function (mod) {
15+
if (mod && mod.__esModule) return mod;
16+
var result = {};
17+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18+
__setModuleDefault(result, mod);
19+
return result;
20+
};
221
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
22+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
323
return new (P || (P = Promise))(function (resolve, reject) {
424
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
525
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
26+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
727
step((generator = generator.apply(thisArg, _arguments || [])).next());
828
});
929
};
10-
var __importStar = (this && this.__importStar) || function (mod) {
11-
if (mod && mod.__esModule) return mod;
12-
var result = {};
13-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
14-
result["default"] = mod;
15-
return result;
16-
};
1730
Object.defineProperty(exports, "__esModule", { value: true });
1831
const core = __importStar(require("@actions/core"));
1932
const installer = __importStar(require("./installer"));

node_modules/@actions/core/package.json

+17-47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/exec/package.json

+16-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@actions/io/package.json

+13-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)