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:
|
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() }}
|
||||||
|
|
|
||||||
|
|
@ -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() }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue