romain lespinasse e27f283bad docs: fix typo
2019-11-06 01:18:49 +01:00
2019-11-06 01:17:51 +01:00
2019-11-06 01:05:03 +01:00
2019-11-06 01:05:03 +01:00
2019-11-06 01:18:49 +01:00

GitHub Slug action

This action slug and expose some github variables.

Slug a variable will

  • put the variable content in lower case,
  • replace any caracter by - except 0-9 and a-z,
  • limit the string size to 63 caracters

Environement Variables

GITHUB_REF_SLUG

Slug from GITHUB_REF env variables

Example usage

- uses: rlespinasse/github-slug-action@master
- name: Print slug variables
  run: |
    echo ${{ env.GITHUB_REF_SLUG }}
Languages
Shell 100%