Skip to content

Commit 531c7d8

Browse files
committed
workflow: Fetch with a fetch-depth of 0 and fetch-tags true
This will allow us to read the whole history especially all the tags.
1 parent c58ed0e commit 531c7d8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/nightly.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
ref: master
24+
fetch-depth: 0
25+
fetch-tags: true
2426

2527
- name: Build
2628
run: tools/cross-compile.sh

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
cache: false
1515

1616
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
fetch-tags: true
1720

1821
- name: Build
1922
run: |

0 commit comments

Comments
 (0)