From 1a8b6d2fe7d79eb56688b0d4ea702ee402d8884f Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 28 Nov 2022 17:17:31 -0700 Subject: [PATCH] just mess with the timestamps --- .github/workflows/product.yaml | 5 ++++- Makefile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/product.yaml b/.github/workflows/product.yaml index 6b6d83cac..23e704e86 100644 --- a/.github/workflows/product.yaml +++ b/.github/workflows/product.yaml @@ -123,6 +123,7 @@ jobs: tar -mxvf frontend.tar GIT_HASH.txt tar -mxvf frontend.tar ENVIRONMENT.txt tar -mxvf frontend.tar VERSION.txt + rm frontend.tar - name: Cache raspiOS id: cache-raspios @@ -132,7 +133,9 @@ jobs: key: cache-raspios - name: Build image - run: "make V=1 ARCH=aarch64 embassyos-raspi.img --debug" + run: | + touch -d "1970-01-01T00:00:00Z" ENVIRONMENT.txt GIT_HASH.txt VERSION.txt + make V=1 embassyos-raspi.img --debug - uses: actions/upload-artifact@v3 with: diff --git a/Makefile b/Makefile index 324aee96c..e6817a6d2 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,7 @@ patch-db/client/dist: $(PATCH_DB_CLIENT_SRC) patch-db/client/node_modules npm --prefix frontend run build:deps # used by github actions -backend-$(ARCH).tar: $(ENVIRONMENT_FILE) $(GIT_HASH_FILE) $(EMBASSY_BINS) +backend-$(ARCH).tar: $(EMBASSY_BINS) tar -cvf $@ $^ # this is a convenience step to build all frontends - it is not referenced elsewhere in this file