Skip to content

Commit

Permalink
Merge pull request #74 from tweag/cg/fix_windows_check
Browse files Browse the repository at this point in the history
fix: check runner.os for Windows
  • Loading branch information
mergify[bot] authored Dec 18, 2023
2 parents 48a6881 + cba1468 commit 4265a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Disable stardoc
# Windows: Stardoc complains about docstring quote indentation on Windows.
# bzlmod: Stardoc does not work with bzlmod.
if: ${{ matrix.os == 'windows-2019' || matrix.bazel_mode == 'module' }}
if: ${{ runner.os == 'Windows' || matrix.bazel_mode == 'module' }}
uses: tweag/write-bazelrc@v0
with:
content: build --config=no-stardoc
Expand All @@ -60,7 +60,7 @@ jobs:
echo "USE_BAZEL_VERSION=${{ matrix.version }}" > .bazeliskrc
echo "USE_BAZEL_VERSION=${{ matrix.version }}" > tests/.bazeliskrc
- name: Run Bazel test at the root
if: ${{ matrix.bazel_mode == 'workspace' && matrix.os != 'windows-2019' }}
if: ${{ matrix.bazel_mode == 'workspace' && runner.os != 'Windows' }}
uses: ./.github/actions/run_bazel_test
- name: Run Bazel test under the tests directory
uses: ./.github/actions/run_bazel_test
Expand Down

0 comments on commit 4265a78

Please sign in to comment.