Merge pull request #1 from Lzok/main

Added the flag if: always() to the get commit hash step.
This commit is contained in:
D Ther Htun 2021-02-16 14:38:17 +06:30 committed by GitHub
commit dec309966a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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() }}

View file

@ -15,7 +15,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() }}