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: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 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 id: slug
- name: Chat Setup - name: Chat Setup
if: ${{ always() }} if: ${{ always() }}

View file

@ -15,7 +15,9 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 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 id: slug
- name: Chat Setup - name: Chat Setup
if: ${{ always() }} if: ${{ always() }}