Skip to content

Commit

Permalink
CI: Set smiliar timestamp for each file in source tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Aug 10, 2024
1 parent a4cb6a7 commit ef6b4ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ jobs:
pandoc -s -t man adb.1.md -o adb.1
- name: build & install
run: |
mkdir build && cd build
export SOURCE_DATE_EPOCH=$(date +%s)
echo "SOURCE_DATE_EPOCH: ${SOURCE_DATE_EPOCH}"
cmake \
-DANDROID_TOOLS_USE_BUNDLED_FMT=ON \
-DANDROID_TOOLS_USE_BUNDLED_LIBUSB=ON \
..
make package_source
-B build
cmake --build build --target package_source
for x in sha1sum sha256sum sha512sum b2sum; do
printf "$x " && $x ${{ github.workspace }}/build/android-tools-*.tar.xz | cut -d " " -f 1
done
Expand Down

0 comments on commit ef6b4ad

Please sign in to comment.