diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8d6a491..d0bfbbc4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,12 +51,13 @@ jobs: steps: - uses: actions/checkout@v4 - + with: + fetch-depth: 0 + fetch-tags: true - name: Build wheels uses: pypa/cibuildwheel@v2.23.1 env: CIBW_SKIP: pp*-macosx_arm64 - - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} @@ -67,10 +68,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + with: + fetch-depth: 0 + fetch-tags: true - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v4 with: name: cibw-sdist @@ -115,4 +117,3 @@ jobs: merge-multiple: true - name: Publish package distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 -