Skip to content

Commit dec7615

Browse files
committed
Set SOURCE_DATE_EPOCH later, it casuses some test failures
1 parent 44531f9 commit dec7615

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/reusable-ubuntu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ jobs:
7070
# On ubuntu-26.04 image, LLVM is LLVM-21 by default
7171
sudo apt-get install --no-install-recommends bolt-21
7272
echo PATH="$(llvm-config-21 --bindir):$PATH" >> $GITHUB_ENV
73-
- name: Use the commit timestamp for timestamps the install
74-
run: echo "SOURCE_DATE_EPOCH=$(git log -1 --format=%ct)" >> $GITHUB_ENV
7573
- name: Configure OpenSSL env vars
7674
run: |
7775
echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> "$GITHUB_ENV"
@@ -140,6 +138,9 @@ jobs:
140138
run: xvfb-run make ci EXTRATESTOPTS="${TEST_OPTS}"
141139
env:
142140
TEST_OPTS: ${{ inputs.test-opts }}
141+
- name: Use the commit timestamp for timestamps the install
142+
if: inputs.upload-install-hashes
143+
run: echo "SOURCE_DATE_EPOCH=$(git log -1 --format=%ct)" >> $GITHUB_ENV
143144
- name: Install Python
144145
if: inputs.upload-install-hashes
145146
working-directory: ${{ env.CPYTHON_BUILDDIR }}

0 commit comments

Comments
 (0)