Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try workaround
  • Loading branch information
gcampbell-msft committed Aug 16, 2024
commit 9eb6ef3a1efb70f5051223fc7d0b706f57377e2f
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,25 @@ jobs:
# Node needs to be installed before OS-specific setup so that we can run
# the hash verification script.
- name: Use Node 18.x
if: ${{ matrix.os != 'windows-latest' }}
uses: actions/setup-node@v2
with:
node-version: 18.x

- name: Install Node
if: ${{ matrix.os == 'windows-latest' }}
run: |
winget install Schniz.fnm
fnm env --use-on-cd | Out-String | Invoke-Expression
fnm use --install-if-missing 18

# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
- name: Use Python 3.8
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install Windows Tools
if: ${{ matrix.os == 'windows-latest' }}
run: npm install -g windows-build-tools

- name: Windows setup
if: ${{ matrix.os == 'windows-latest' }}
run: |
Expand Down