From eb91d40edf9ebb7b47d8fd958762b0341a6be2b6 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 5 Sep 2023 16:16:27 -0700 Subject: [PATCH] try ustar format --- .gitea/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2228027..a4c5536 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -35,7 +35,10 @@ jobs: # Zig package manager expects everything to be inside a directory in the archive, # which it then strips out on download. So we need to shove everything inside a directory # the way GitHub/Gitea does for repo archives - - run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz --format posix --exclude 'zig-*' --transform 's,^,${{ github.sha }}/,' * + # + # Also, zig tar process doesn't handle gnu format for long names, nor does it seam to + # handle posix long name semantics cleanly either. Let's try ustar + - run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz --format ustar --exclude 'zig-*' --transform 's,^,${{ github.sha }}/,' * # - name: Sign # id: sign # uses: https://git.lerch.org/lobo/action-hsm-sign@v1