Skip to content

Commit

Permalink
feat(release): release v1.0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBM135 committed Jan 18, 2024
1 parent ba52057 commit 34a13da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18718,7 +18718,7 @@ var require_core = __commonJS({
command_1.issueCommand("add-mask", {}, secret);
}
exports.setSecret = setSecret;
function addPath2(inputPath) {
function addPath(inputPath) {
const filePath = process.env["GITHUB_PATH"] || "";
if (filePath) {
file_command_1.issueFileCommand("PATH", inputPath);
Expand All @@ -18727,7 +18727,7 @@ var require_core = __commonJS({
}
process.env["PATH"] = `${inputPath}${path.delimiter}${process.env["PATH"]}`;
}
exports.addPath = addPath2;
exports.addPath = addPath;
function getInput2(name, options) {
const val = process.env[`INPUT_${name.replace(/ /g, "_").toUpperCase()}`] || "";
if (options && options.required && !val) {
Expand Down Expand Up @@ -20166,7 +20166,10 @@ async function main() {
...createStreams()
});
if (polyfillOptions.path) {
core3.addPath(polyfillOptions.path);
const escapedPath = polyfillOptions.path.replaceAll('"', '\\"');
await exec.exec("/bin/bash", ["-c", `echo "${escapedPath}" >> $GITHUB_PATH`], {
...createStreams()
});
core3.info(`Added ${polyfill} polyfill to PATH.`);
}
if (code !== 0) {
Expand Down
6 changes: 3 additions & 3 deletions dist/index.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jpbm135/self-hosted-action-polyfill",
"version": "1.0.29",
"version": "1.0.30",
"description": "Polyfills for self hosted actions",
"main": "dist/index.mjs",
"scripts": {
Expand Down

0 comments on commit 34a13da

Please sign in to comment.