diff --git a/.github/workflows/cross-platform-test.yml b/.github/workflows/cross-platform-test.yml index 9d19086f79..da15b74a5a 100644 --- a/.github/workflows/cross-platform-test.yml +++ b/.github/workflows/cross-platform-test.yml @@ -145,6 +145,16 @@ jobs: enable-cache: false ignore-empty-workdir: true + - name: Install Protocol Buffers (macOS AMD64) + if: matrix.os == 'macos' && matrix.arch == 'amd64' + run: | + if ! command -v protoc &> /dev/null; then + brew install protobuf + else + echo "protoc already installed, skipping" + fi + shell: bash + # Download artifacts for wheel installation - name: Download LFX package artifact if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != '' @@ -433,6 +443,16 @@ jobs: enable-cache: false ignore-empty-workdir: true + - name: Install Protocol Buffers (macOS AMD64) + if: matrix.os == 'macos' && matrix.arch == 'amd64' + run: | + if ! command -v protoc &> /dev/null; then + brew install protobuf + else + echo "protoc already installed, skipping" + fi + shell: bash + # Download artifacts for wheel installation - name: Download LFX package artifact if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != '' diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 651ee5341c..afef49b030 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -214,7 +214,7 @@ jobs: # ref: ${{ needs.create-nightly-tag.outputs.tag }} release-nightly-build: - if: github.repository == 'langflow-ai/langflow' && (needs.frontend-tests.result == 'success' || needs.frontend-tests.result == 'skipped') && (needs.backend-unit-tests.result == 'success' || needs.backend-unit-tests.result == 'skipped') + if: github.repository == 'langflow-ai/langflow' && always() && needs.frontend-tests.result != 'failure' && needs.backend-unit-tests.result != 'failure' name: Run Nightly Langflow Build needs: [create-nightly-tag, frontend-tests, backend-unit-tests] uses: ./.github/workflows/release_nightly.yml