Skip to content

Commit

Permalink
Add windows-latest back to test-and-build workflow (opensearch-projec…
Browse files Browse the repository at this point in the history
…t#39)

Trying to set the git config for core.longpaths to "true" to enable
long file paths on Windows, as that was blocking us from checking out
OpenSearch-Dashboards.

Signed-off-by: Michael Froh <[email protected]>

Signed-off-by: Michael Froh <[email protected]>
  • Loading branch information
msfroh authored Nov 1, 2022
1 parent 5c2b2ec commit 713c9c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Check LongPathsEnabled
- name: Enable core.longpaths on Windows
if: ${{ matrix.os == 'windows-latest' }}
run: (Get-ItemProperty "HKLM:System\CurrentControlSet\Control\FileSystem").LongPathsEnabled
run: git config --global core.longpaths true

- name: Checkout Dashboards Search Relevance plugin
uses: actions/checkout@v2
Expand Down

0 comments on commit 713c9c8

Please sign in to comment.