From b1b2a6cc7a6104f5e1f6ee4cae33e6ef3ed2ec1c Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 2 Apr 2024 18:00:08 -0700 Subject: [PATCH] add example build at the end so we have models to use for the sample --- .gitea/workflows/zig-mach.yaml | 4 ++-- .gitea/workflows/zig-nightly.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/zig-mach.yaml b/.gitea/workflows/zig-mach.yaml index f354e50..99ee405 100644 --- a/.gitea/workflows/zig-mach.yaml +++ b/.gitea/workflows/zig-mach.yaml @@ -36,8 +36,6 @@ jobs: zig version - name: Run tests run: zig build test --verbose - - name: Build example - run: ( cd example && zig build ) # Make sure example builds # 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 @@ -73,6 +71,8 @@ jobs: curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \ --upload-file ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz \ https://git.lerch.org/api/packages/lobo/generic/aws-sdk-with-models/${{ github.sha }}/${{ github.sha }}-with-models.tar.gz + - name: Build example + run: ( cd example && zig build ) # Make sure example builds - name: Notify uses: https://git.lerch.org/lobo/action-notify-ntfy@v2 if: always() diff --git a/.gitea/workflows/zig-nightly.yaml b/.gitea/workflows/zig-nightly.yaml index 0682de1..149ebaf 100644 --- a/.gitea/workflows/zig-nightly.yaml +++ b/.gitea/workflows/zig-nightly.yaml @@ -34,8 +34,6 @@ jobs: zig version - name: Run tests run: zig build test --verbose - - name: Build example - run: ( cd example && zig build ) # Make sure example builds # 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 @@ -71,6 +69,8 @@ jobs: curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \ --upload-file ${{ runner.temp }}/${{ github.sha }}-with-models.tar.gz \ https://git.lerch.org/api/packages/lobo/generic/aws-sdk-with-models/${{ github.sha }}/${{ github.sha }}-with-models.tar.gz + - name: Build example + run: ( cd example && zig build ) # Make sure example builds - name: Notify uses: https://git.lerch.org/lobo/action-notify-ntfy@v2 if: always()