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.
This commit is contained in:
Jöran Karl 2024-06-19 22:03:14 +02:00
parent c58ed0e51a
commit 531c7d88e2
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0
fetch-tags: true
- name: Build
run: tools/cross-compile.sh

View file

@ -14,6 +14,9 @@ jobs:
cache: false
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Build
run: |