From 1c02e1e3a0f19d62083b720c768b57bac1592472 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Fri, 2 Feb 2024 20:58:48 +0100 Subject: [PATCH] ci: Prevent creating artifact for dynamic ubuntu build This is not used in the release process anyway, because we are using the static build. --- .github/workflows/ci.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 11a239b5d..4e510cb2c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -173,7 +173,7 @@ jobs: cache: | ~/.stack .stack-work - artifact: postgrest-ubuntu-x64 + # no artifact for Linux, because we use the static build - name: MacOS runs-on: macos-latest @@ -210,6 +210,7 @@ jobs: - name: Strip Executable run: strip result/postgrest* - name: Save built executable as artifact + if: ${{ matrix.artifact }} uses: actions/upload-artifact@v4 with: name: ${{ matrix.artifact }} @@ -418,11 +419,6 @@ jobs: tar cJvf "release-bundle/postgrest-v$VERSION-linux-static-x64.tar.xz" \ -C artifacts/postgrest-linux-static-x64 postgrest - # No need to release Ubuntu, as the static Linux binary built with Nix - # covers all Linux use-cases - #tar cfJv "release-bundle/postgrest-v$VERSION-ubuntu-x64.tar.xz" \ - # -C artifacts/postgrest-ubuntu-x64 postgrest - tar cJvf "release-bundle/postgrest-v$VERSION-macos-x64.tar.xz" \ -C artifacts/postgrest-macos-x64 postgrest