From 77be26514fe0bddd02286043e7caae6af74034f7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 3 Jun 2021 22:51:17 -1000 Subject: [PATCH] ;ci: fix syntax (#1543) --- .github/workflows/linux.yml | 2 ++ .github/workflows/mac.yml | 2 ++ .github/workflows/push.yml | 2 ++ .github/workflows/windows.yml | 2 ++ 4 files changed, 8 insertions(+) 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: