From 4e6ea2f1cab334ae2f19aaa2b3785643247ebd9f Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Fri, 1 Apr 2022 12:14:09 +0200 Subject: [PATCH] ci: release wf uses deep clone --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e03fb1..d3ceb1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,9 @@ jobs: pages: write steps: - name: Checkout code - uses: actions/checkout@v2 - - - name: Fetch tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v1