Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubramanian authored Dec 15, 2024
1 parent fcdaa15 commit 7756cb8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,19 @@ jobs:
python3 -m ensurepip
python3 -m pip install setuptools
- name: Install dependencies
- name: Install dependencies in Windows
shell: powershell
run: |
if [ "${{ matrix.os }}" == "windows-latest" ]; then
npm config set python "$(Get-Command python | Select-Object -ExpandProperty Path)"
npm audit fix
npm update
npm install
else
- name: Install dependencies in Mac
shell: bash
run: |
if [ "${{ matrix.os }}" == "mac-latest" ]; then
NODE_GYP_FORCE_PYTHON=$(which python3) npm install --save-dev appdmg
npm audit fix
npm update
Expand Down

0 comments on commit 7756cb8

Please sign in to comment.