Created
March 4, 2025 00:53
-
-
Save anton-matosov/266c38e978645afa259ee8ff7103653e to your computer and use it in GitHub Desktop.
Github workflow ENV variable to lowercase using github-script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Force SLUG to lowercase | |
uses: actions/github-script@v6 | |
with: | |
github-token: n/a | |
script: | | |
core.exportVariable('SLUG', process.env.SLUG.toLowerCase()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment