From 531c7d88e256c7289b62ea27849b17e1bf22d74e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:03:14 +0200 Subject: [PATCH] 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. --- .github/workflows/nightly.yaml | 2 ++ .github/workflows/test.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 7cd4fcae..12647e65 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -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 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 634692d0..632717f6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,6 +14,9 @@ jobs: cache: false - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - name: Build run: |