Skip to content

Commit

Permalink
v0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Nov 22, 2023
1 parent e263472 commit 0276d44
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 33 deletions.
66 changes: 33 additions & 33 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 833:
/***/ 351:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand All @@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0;
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(641);
const utils_1 = __nccwpck_require__(278);
/**
* Commands
*
Expand Down Expand Up @@ -100,7 +100,7 @@ function escapeProperty(s) {

/***/ }),

/***/ 293:
/***/ 186:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -135,12 +135,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
const command_1 = __nccwpck_require__(833);
const file_command_1 = __nccwpck_require__(14);
const utils_1 = __nccwpck_require__(641);
const command_1 = __nccwpck_require__(351);
const file_command_1 = __nccwpck_require__(717);
const utils_1 = __nccwpck_require__(278);
const os = __importStar(__nccwpck_require__(37));
const path = __importStar(__nccwpck_require__(17));
const oidc_utils_1 = __nccwpck_require__(862);
const oidc_utils_1 = __nccwpck_require__(41);
/**
* The code to exit an action
*/
Expand Down Expand Up @@ -419,7 +419,7 @@ exports.getIDToken = getIDToken;

/***/ }),

/***/ 14:
/***/ 717:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -450,7 +450,7 @@ exports.issueCommand = void 0;
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(147));
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(641);
const utils_1 = __nccwpck_require__(278);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
Expand All @@ -468,7 +468,7 @@ exports.issueCommand = issueCommand;

/***/ }),

/***/ 862:
/***/ 41:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand All @@ -484,9 +484,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
const http_client_1 = __nccwpck_require__(505);
const auth_1 = __nccwpck_require__(490);
const core_1 = __nccwpck_require__(293);
const http_client_1 = __nccwpck_require__(925);
const auth_1 = __nccwpck_require__(702);
const core_1 = __nccwpck_require__(186);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
const requestOptions = {
Expand Down Expand Up @@ -552,7 +552,7 @@ exports.OidcClient = OidcClient;

/***/ }),

/***/ 641:
/***/ 278:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -599,7 +599,7 @@ exports.toCommandProperties = toCommandProperties;

/***/ }),

/***/ 624:
/***/ 514:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -635,7 +635,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getExecOutput = exports.exec = void 0;
const string_decoder_1 = __nccwpck_require__(576);
const tr = __importStar(__nccwpck_require__(90));
const tr = __importStar(__nccwpck_require__(159));
/**
* Exec a command.
* Output will be streamed to the live console.
Expand Down Expand Up @@ -709,7 +709,7 @@ exports.getExecOutput = getExecOutput;

/***/ }),

/***/ 90:
/***/ 159:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -748,8 +748,8 @@ const os = __importStar(__nccwpck_require__(37));
const events = __importStar(__nccwpck_require__(361));
const child = __importStar(__nccwpck_require__(81));
const path = __importStar(__nccwpck_require__(17));
const io = __importStar(__nccwpck_require__(104));
const ioUtil = __importStar(__nccwpck_require__(19));
const io = __importStar(__nccwpck_require__(436));
const ioUtil = __importStar(__nccwpck_require__(962));
const timers_1 = __nccwpck_require__(512);
/* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32';
Expand Down Expand Up @@ -1334,7 +1334,7 @@ class ExecState extends events.EventEmitter {

/***/ }),

/***/ 490:
/***/ 702:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -1400,15 +1400,15 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand

/***/ }),

/***/ 505:
/***/ 925:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
const http = __nccwpck_require__(685);
const https = __nccwpck_require__(687);
const pm = __nccwpck_require__(502);
const pm = __nccwpck_require__(443);
let tunnel;
var HttpCodes;
(function (HttpCodes) {
Expand Down Expand Up @@ -1827,7 +1827,7 @@ class HttpClient {
if (useProxy) {
// If using proxy, need tunnel
if (!tunnel) {
tunnel = __nccwpck_require__(468);
tunnel = __nccwpck_require__(294);
}
const agentOptions = {
maxSockets: maxSockets,
Expand Down Expand Up @@ -1945,7 +1945,7 @@ exports.HttpClient = HttpClient;

/***/ }),

/***/ 502:
/***/ 443:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -2010,7 +2010,7 @@ exports.checkBypass = checkBypass;

/***/ }),

/***/ 19:
/***/ 962:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -2194,7 +2194,7 @@ exports.getCmdPath = getCmdPath;

/***/ }),

/***/ 104:
/***/ 436:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -2233,7 +2233,7 @@ const assert_1 = __nccwpck_require__(491);
const childProcess = __importStar(__nccwpck_require__(81));
const path = __importStar(__nccwpck_require__(17));
const util_1 = __nccwpck_require__(837);
const ioUtil = __importStar(__nccwpck_require__(19));
const ioUtil = __importStar(__nccwpck_require__(962));
const exec = util_1.promisify(childProcess.exec);
const execFile = util_1.promisify(childProcess.execFile);
/**
Expand Down Expand Up @@ -2542,15 +2542,15 @@ function copyFile(srcFile, destFile, force) {

/***/ }),

/***/ 468:
/***/ 294:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {

module.exports = __nccwpck_require__(636);
module.exports = __nccwpck_require__(219);


/***/ }),

/***/ 636:
/***/ 219:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {

"use strict";
Expand Down Expand Up @@ -2967,8 +2967,8 @@ module.exports = require("util");
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const core = __nccwpck_require__(293);
const exec = __nccwpck_require__(624);
const core = __nccwpck_require__(186);
const exec = __nccwpck_require__(514);


// most @actions toolkit packages have async methods
Expand All @@ -2979,7 +2979,7 @@ async function run() {
if (process.platform === 'linux') {
await exec.exec('sudo apt-get update')
await exec.exec(
'sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0'
'sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libopengl0 libegl1-mesa'
)
}
} catch (error) {
Expand Down
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"dependencies": {
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.0"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1"
}
}

0 comments on commit 0276d44

Please sign in to comment.