From f7e417f5ac76eae6f45ddeac873d9feed7a48e6e Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Sun, 14 May 2023 08:00:18 +0200 Subject: [PATCH] fix github action --- .github/workflows/amd64_macos_bazel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/amd64_macos_bazel.yml b/.github/workflows/amd64_macos_bazel.yml index 709c418ce1..d0e17328ae 100644 --- a/.github/workflows/amd64_macos_bazel.yml +++ b/.github/workflows/amd64_macos_bazel.yml @@ -24,6 +24,6 @@ jobs: - name: Check Bazel run: bazel version - name: Build - run: bazel build -c opt --cxxopt=-std=c++17 --subcommands=true //ortools/... //examples/... + run: bazel build -c opt --action_env=BAZEL_CXXOPTS="-std=c++17" --subcommands=true //ortools/... //examples/... - name: Test - run: bazel test -c opt --cxxopt=-std=c++17 --test_output=errors //ortools/... //examples/... + run: bazel test -c opt --action_env=BAZEL_CXXOPTS="-std=c++17" --test_output=errors //ortools/... //examples/...