diff --git a/dist/index.js b/dist/index.js index 661370a..e3797f6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -263,7 +263,7 @@ try { ref = process.env.GITHUB_REF; if (ref) { - core.exportVariable('GITHUB_REF_SLUG', slufigy(ref)); + core.exportVariable('GITHUB_REF_SLUG', slugify(ref)); core.info(`Set GITHUB_REF_SLUG=${process.env.GITHUB_REF_SLUG}`); } else { core.warning('Environment variable "GITHUB_REF" not set. ' + @@ -275,7 +275,7 @@ try { core.exportVariable('GITHUB_REF_NAME', refName); core.info(`Set GITHUB_REF_NAME=${process.env.GITHUB_REF_NAME}`); - core.exportVariable('GITHUB_REF_NAME_SLUG', slufigy(refName)); + core.exportVariable('GITHUB_REF_NAME_SLUG', slugify(refName)); core.info(`Set GITHUB_REF_NAME_SLUG=${process.env.GITHUB_REF_NAME_SLUG}`); } else { core.warning('Environment variable "GITHUB_REF" not set. ' + diff --git a/index.js b/index.js index 54259ef..413f2b4 100644 --- a/index.js +++ b/index.js @@ -102,7 +102,7 @@ try { ref = process.env.GITHUB_REF; if (ref) { - core.exportVariable('GITHUB_REF_SLUG', slufigy(ref)); + core.exportVariable('GITHUB_REF_SLUG', slugify(ref)); core.info(`Set GITHUB_REF_SLUG=${process.env.GITHUB_REF_SLUG}`); } else { core.warning('Environment variable "GITHUB_REF" not set. ' + @@ -114,7 +114,7 @@ try { core.exportVariable('GITHUB_REF_NAME', refName); core.info(`Set GITHUB_REF_NAME=${process.env.GITHUB_REF_NAME}`); - core.exportVariable('GITHUB_REF_NAME_SLUG', slufigy(refName)); + core.exportVariable('GITHUB_REF_NAME_SLUG', slugify(refName)); core.info(`Set GITHUB_REF_NAME_SLUG=${process.env.GITHUB_REF_NAME_SLUG}`); } else { core.warning('Environment variable "GITHUB_REF" not set. ' +