From a06c367e53b5424fc50bcc2daa7280f21e8de88f Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Sun, 19 Nov 2023 00:22:48 +0100 Subject: [PATCH] Update PyNUTClient.yml Signed-off-by: Jim Klimov --- .github/workflows/PyNUTClient.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/PyNUTClient.yml b/.github/workflows/PyNUTClient.yml index be4795406f..018562485b 100644 --- a/.github/workflows/PyNUTClient.yml +++ b/.github/workflows/PyNUTClient.yml @@ -24,11 +24,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Fetch git tags - run: >- - set -x ; - git --version >&2 || true ; - git fetch --tags >&2 + with: + fetch-depth: 0 + fetch-tags: true - name: Set up Python 3.10 uses: actions/setup-python@v3 with: