Skip to content

Commit

Permalink
fix: windows build (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Feb 2, 2024
1 parent 59a2c69 commit 65a09c7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 14
- name: Use Node.js 16
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 16

- run: yarn install --ignore-engines

Expand All @@ -31,7 +31,12 @@ jobs:
- name: Check if binary is compiled, skip if download only
id: check_file
run: |
if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) { echo ""EXISTS=true" >> $GITHUB_OUTPUT" } else { echo ""EXISTS=false" >> $GITHUB_OUTPUT" }
ls dist
if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) {
"EXISTS=true" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
} else {
"EXISTS=false" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
}
- uses: actions/upload-artifact@v4
if: steps.check_file.outputs.EXISTS == 'true'
Expand Down

0 comments on commit 65a09c7

Please sign in to comment.