Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export variables with prefix #2

Closed
rlespinasse opened this issue Dec 8, 2021 · 1 comment · Fixed by #3
Closed

Export variables with prefix #2

rlespinasse opened this issue Dec 8, 2021 · 1 comment · Fixed by #3
Assignees
Labels
enhancement New feature or request released

Comments

@rlespinasse
Copy link
Owner

Current situation

- uses: rlespinasse/slugify-value@v1.x
   with:
     key: EXISTING_ENV_VAR

Will make available

  • EXISTING_ENV_VAR_SLUG
  • EXISTING_ENV_VAR_SLUG_CS
  • EXISTING_ENV_VAR_SLUG_URL
  • EXISTING_ENV_VAR_SLUG_URL_CS

Proposition

In addition to the current mode, we add a new input prefix

- uses: rlespinasse/slugify-value@v1.x
   with:
     key: EXISTING_ENV_VAR
     value: CI_

Will make available

  • CI_EXISTING_ENV_VAR
  • CI_EXISTING_ENV_VAR_SLUG
  • CI_EXISTING_ENV_VAR_SLUG_CS
  • CI_EXISTING_ENV_VAR_SLUG_URL
  • CI_EXISTING_ENV_VAR_SLUG_URL_CS
@github-actions
Copy link

github-actions bot commented Dec 8, 2021

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant