Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Feb 14, 2024
1 parent 2ed57ec commit 351cf7f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 9778:
/***/ ((__unused_webpack_module, exports) => {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.envsubst = void 0;
const REGEXP = new RegExp("\\$\\{?([A-Z_]+)\\}?");
function envsubst(str) {
return str.replace(REGEXP, replacer);
}
exports.envsubst = envsubst;
function replacer(_match, k) {
return process.env[k] ?? "";
}


/***/ }),

/***/ 1341:
/***/ ((__unused_webpack_module, exports) => {

Expand Down Expand Up @@ -101,6 +120,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getInputs = void 0;
const core = __importStar(__nccwpck_require__(2186));
const Shellwords = __importStar(__nccwpck_require__(8519));
const envsubst_1 = __nccwpck_require__(9778);
function getInputs() {
const getBuildArguments = (step) => {
return getShellWordsInput("stack-build-arguments").concat(getShellWordsInput(`stack-build-arguments-${step}`));
Expand All @@ -127,7 +147,7 @@ function getInputDefault(name, d) {
}
function getShellWordsInput(name, options) {
const raw = core.getMultilineInput(name, options).join(" ");
return Shellwords.split(raw);
return Shellwords.split(raw).map(envsubst_1.envsubst);
}


Expand Down

0 comments on commit 351cf7f

Please sign in to comment.