From 273fb4ae39c922c1aca7a3dd20d45be9e0486afe Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Sat, 8 Jun 2024 15:20:46 +0000 Subject: [PATCH] Tweak the sdist step to exercise it on dry runs. Change-Id: I1acea938fe9fc033a65ae87a725064c1cb658839 Reviewed-on: https://code-review.googlesource.com/c/re2/+/63250 Reviewed-by: Paul Wankadia Reviewed-by: Alex Chernyakhovsky --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: |