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/...