diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31c12de41..f38b3901d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,6 +18,9 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: recursive - name: Set up Python uses: actions/setup-python@v5 with: @@ -28,6 +31,7 @@ jobs: uv pip install build - name: Build package run: | + git reset --hard HEAD python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file