ci: set SOURCE_DATE_EPOCH
for at least debian pkgs
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
cad1d34611
commit
e83b426caf
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -209,6 +209,7 @@ jobs:
|
||||||
- name: Build static ${{ matrix.target }}
|
- name: Build static ${{ matrix.target }}
|
||||||
run: |
|
run: |
|
||||||
CARGO_DEB_TARGET_TUPLE=$(echo ${{ matrix.target }} | grep -o -E '^([^-]*-){3}[^-]*')
|
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 }}
|
bin/nix-build-and-cache just .#static-${{ matrix.target }}
|
||||||
mkdir -v -p target/release/
|
mkdir -v -p target/release/
|
||||||
|
|
Loading…
Add table
Reference in a new issue