From 74b927f0ea9250284067640375199756cda732cf Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Mon, 13 Jan 2025 07:47:48 +0100 Subject: [PATCH] Update build job to ensure correct package version --- .github/workflows/_build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index 04d4878..387a8c8 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -35,7 +35,9 @@ jobs: pypi.org:443 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 # IMPORTANT: otherwise the current tag does not get fetched and the build version gets worse - name: Set up Python ${{ inputs.python-version }} uses: actions/setup-python@v5