diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c2eecfde8..fd76a0854 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -84,6 +84,8 @@ jobs: # have to fetch everything for git describe for --version with: fetch-depth: 0 + + - name: Check out tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # things to be cached/restored: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index c3fd9f10d..4deecad66 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -54,6 +54,8 @@ jobs: # have to fetch everything for git describe for --version with: fetch-depth: 0 + + - name: Check out tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # things to be cached/restored: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ad36c2846..c0dd6f957 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -49,6 +49,8 @@ jobs: # have to fetch everything for git describe for --version with: fetch-depth: 0 + + - name: Check out tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # things to be cached/restored: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6aecaabe3..81259eec0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -44,6 +44,8 @@ jobs: # have to fetch everything for git describe for --version with: fetch-depth: 0 + + - name: Check out tags run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # things to be cached/restored: