From 6a12f1e3e583b30f66467c4590553685949fdad1 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 5 Sep 2023 12:49:57 -0700 Subject: [PATCH] produce build artifact that includes generated models --- .gitea/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 372ca69..609fe96 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,6 +29,12 @@ 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.tgz --exclude 'zig-*' * + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: ${{ github.sha }}-with-models.tgz + path: '${{ runner.temp }}/${{ github.sha }}-with-models.tgz' - name: Notify uses: https://git.lerch.org/lobo/action-notify-ntfy@v2 if: always()