From 452c85cd649dadcc722068e2c8082e08deafbc1e Mon Sep 17 00:00:00 2001 From: Andrew Wason Date: Tue, 5 Mar 2024 08:33:13 -0500 Subject: [PATCH] Fix workflows failing when fetching tags --- .github/workflows/check.yml | 2 +- .github/workflows/test-install-qt.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index bd21e1f2..c991ddca 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 20 - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-tags: true - name: Set up Python 3.9 uses: actions/setup-python@v4 with: diff --git a/.github/workflows/test-install-qt.yml b/.github/workflows/test-install-qt.yml index d9ad1c1c..a2a1b7ee 100644 --- a/.github/workflows/test-install-qt.yml +++ b/.github/workflows/test-install-qt.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 20 - - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + fetch-tags: true - name: Set up Python uses: actions/setup-python@v4 with: