From e83b426caf76c0251bcb3aecb42aa1f51871af3f Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 15 Jun 2024 17:13:04 -0400 Subject: [PATCH] ci: set `SOURCE_DATE_EPOCH` for at least debian pkgs Signed-off-by: strawberry --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1da9211..aa9f28a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,6 +209,7 @@ jobs: - name: Build static ${{ matrix.target }} run: | CARGO_DEB_TARGET_TUPLE=$(echo ${{ matrix.target }} | grep -o -E '^([^-]*-){3}[^-]*') + SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) bin/nix-build-and-cache just .#static-${{ matrix.target }} mkdir -v -p target/release/