diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index ec23450ed..4ddf8ec8a 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -20,7 +20,7 @@ jobs: RUSTTARGET: ${{ matrix.target }} TOOLCHAIN_VERSION: "nightly" UPLOAD_MODE: none - STATIC_LINKING: ${{ matrix.target != "x86_64-apple-darwin" }} + STATIC_LINKING: ${{ !contains(matrix.target, 'x86_64-apple-darwin') }} - name: Release uses: softprops/action-gh-release@v1 with: