diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3c731128d..3f5d9a7ec 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -210,8 +210,8 @@ jobs: python -m pip install --upgrade pip python -m pip install --upgrade setuptools build wheel shell: bash - - if: inputs.build == 1 || inputs.force-sdist == true - name: Build source + - if: inputs.build <= 1 || inputs.force-sdist == true + name: Build sdist env: SOURCE_DATE_EPOCH: ${{ env.timestamp }} run: |