Skip to content

Commit

Permalink
testing macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 6, 2025
1 parent fb64dfe commit 6f96222
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/build-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
script: |
try {
const fs = require('fs')
if('${{ inputs.os }}' == 'windows-2022'){
if('${{ runner.os }}' == 'Windows'){
if(${{ inputs.node }} <23){
fs.mkdirSync('release/ia32/${{ inputs.node }}', { recursive: true });
}
Expand All @@ -46,7 +46,7 @@ runs:
fs.mkdirSync('release/arm64/${{ inputs.node }}', { recursive: true });
}
}
else if('${{ inputs.os }}' == 'macos-14'){
else if('${{ runner.os }}' == 'macOS'){
fs.mkdirSync('release/ia32/${{ inputs.node }}', { recursive: true });
fs.mkdirSync('release/x64/${{ inputs.node }}', { recursive: true });
fs.mkdirSync('release/arm64/${{ inputs.node }}', { recursive: true });
Expand All @@ -63,7 +63,7 @@ runs:
script: |
try {
const fs = require('fs')
if(${{ runner.os }} == 'Windows'){
if('${{ runner.os }}' == 'Windows'){
if(${{ inputs.node }} <23){
fs.writeFileSync('release/ia32/${{ inputs.node }}/node.version', '${{ steps.node-test-version.outputs.node-version }}');
}
Expand All @@ -72,7 +72,7 @@ runs:
fs.writeFileSync('release/arm64/${{ inputs.node }}/node.version', '${{ steps.node-test-version.outputs.node-version }}');
}
}
else if(${{ runner.os }} == 'macOS'){
else if('${{ runner.os }}' == 'macOS'){
fs.writeFileSync('release/x64/${{ inputs.node }}/node.version', '${{ steps.node-test-version.outputs.node-version }}');
fs.writeFileSync('release/arm64/${{ inputs.node }}/node.version', '${{ steps.node-test-version.outputs.node-version }}');
}
Expand Down

0 comments on commit 6f96222

Please sign in to comment.