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