mirror of
https://github.com/FranzDiebold/github-env-vars-action.git
synced 2024-11-22 08:40:59 -05:00
Fix typo.
This commit is contained in:
parent
9184b3ea33
commit
ad44217b03
2 changed files with 4 additions and 4 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -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. ' +
|
||||
|
|
4
index.js
4
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. ' +
|
||||
|
|
Loading…
Reference in a new issue