From e71d95b20edba973e31cc3e4daee18d590d97dbf Mon Sep 17 00:00:00 2001 From: Dave Amies Date: Mon, 19 Feb 2024 19:05:25 +0700 Subject: [PATCH] Git fetch --- .github/workflows/Package.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/Package.yaml b/.github/workflows/Package.yaml index 5a88c9f39..bbbd7dfcd 100644 --- a/.github/workflows/Package.yaml +++ b/.github/workflows/Package.yaml @@ -20,6 +20,9 @@ jobs: run: | echo matrix.platform: ${{ matrix.platform }} echo matrix.python: ${{ matrix.python }} + - name: Git fetch + uses: actions/checkout@v3 + run: git fetch --prune --unshallow - name: Get Version Number new run: | branchname=$(git rev-parse --abbrev-ref HEAD)