Added the flag if: always() to the get commit hash step.

This commit is contained in:
Leandro Echevarria 2021-02-11 12:09:56 -03:00
parent 8ec0f7d6c0
commit da7a85cc11
2 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- name: Get commit hash
if: ${{ always() }}
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
id: slug
- name: Chat Setup
if: ${{ always() }}