[CI] Fix checkout action missing fetch depth
Need a fetch depth greater than 1 to find latest tag.
This commit is contained in:
parent
73394f1fc5
commit
0fbb3882f2
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
@ -38,6 +38,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.ref }}
|
ref: ${{ github.event.inputs.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
path: deluge_src
|
path: deluge_src
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user