From 45e87cf20200b1d69431d1f52362e254336f9bb7 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 22 Apr 2024 08:27:21 -0700 Subject: [PATCH] move example build to the end so we still get a package --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d57419d..1d09755 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,8 +33,6 @@ jobs: ln -s /usr/local/zig-linux-${ARCH}-${ZIG_VERSION}/zig /usr/local/bin/zig - 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 @@ -70,6 +68,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()