Added the flag if: always() to the get commit hash step.
This commit is contained in:
parent
8ec0f7d6c0
commit
da7a85cc11
2 changed files with 6 additions and 2 deletions
4
.github/workflows/example.yml
vendored
4
.github/workflows/example.yml
vendored
|
|
@ -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() }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue