fix(release): fallback to github.sha when ref is not provided (#6862)
This commit is contained in:
parent
240830afac
commit
c3cf1c61c1
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
|
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: '${{ github.sha }}'
|
ref: '${{ github.event.inputs.ref || github.sha }}'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: 'Set booleans for simplified logic'
|
- name: 'Set booleans for simplified logic'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue