diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 671931e..9524fbe 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -32,7 +32,10 @@ jobs: - run: zig build -Dtarget=riscv64-linux - run: zig build -Dtarget=x86_64-macos - run: zig build -Dtarget=aarch64-macos - - run: tar -czf ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz --exclude 'zig-*' * + # 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 --exclude 'zig-*' --transform 's,^,${{ github.sha }}/,' * # - name: Sign # id: sign # uses: https://git.lerch.org/lobo/action-hsm-sign@v1