From 96909916997c2ff75f9a2d31140b66bd44f7c7e7 Mon Sep 17 00:00:00 2001 From: David Teschner <32388991+theGreatHerrLebert@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:52:41 +0100 Subject: [PATCH] Update imspy-connector-publish.yml --- .github/workflows/imspy-connector-publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/imspy-connector-publish.yml b/.github/workflows/imspy-connector-publish.yml index 1a58d8e6..5fc2604d 100644 --- a/.github/workflows/imspy-connector-publish.yml +++ b/.github/workflows/imspy-connector-publish.yml @@ -61,7 +61,11 @@ jobs: - name: Build with Maturin run: | cd imspy_connector - maturin build --release --target ${{ matrix.target || '' }} + if [ -n "${{ matrix.target }}" ]; then + maturin build --release --target ${{ matrix.target }} + else + maturin build --release + fi - name: Publish if: matrix.publish