Last active
March 19, 2020 18:32
-
-
Save atomoil/65156f8b66aa09d7619ae8226144a860 to your computer and use it in GitHub Desktop.
Show the commit name in a Github Action
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
jobs: | |
jazzy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the version | |
id: commit_name | |
run: echo ::set-output name=NAME::${GITHUB_REF#refs/*/} | |
- name: Echo commit name | |
run: echo ref is ${{ steps.commit_name.outputs.NAME }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment