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 7756cb8 commit 1f6711a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ jobs:
- name: Install dependencies in Windows
shell: powershell
if: ${{ matrix.os == 'windows-latest' }}
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
- name: Install dependencies in Mac
shell: bash
if: ${{ matrix.os == 'mac-latest' }}
run: |
if [ "${{ matrix.os }}" == "mac-latest" ]; then
NODE_GYP_FORCE_PYTHON=$(which python3) npm install --save-dev appdmg
npm audit fix
npm update
npm install
fi
- name: Build the application
run: npm run make
Expand Down

0 comments on commit 1f6711a

Please sign in to comment.