Skip to content

Commit 62efb48

Browse files
Update build.yml
1 parent 6898016 commit 62efb48

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
- name: Setup NASM for Windows
1818
if: matrix.os == 'windows-latest'
1919
uses: ilammy/[email protected]
20-
- name: Setup Node.js for Unix
21-
if: matrix.os != 'windows-latest'
20+
- name: Setup Node.js
2221
uses: actions/setup-node@v4
2322
with:
2423
node-version: 20
@@ -36,10 +35,10 @@ jobs:
3635
${{ matrix.os == 'windows-latest' && 'nmake' || 'make' }}
3736
git fetch origin binaries:binaries
3837
git checkout binaries
39-
${{ matrix.os == 'windows-latest' && 'xcopy /Y dist\\*.node .' || 'cp dist/*.node .' }}
40-
${{ matrix.os != 'windows-latest' && 'cp dist/*.js .' || '' }}
41-
${{ matrix.os != 'windows-latest' && 'git rev-parse master > source_commit' || '' }}
42-
${{ matrix.os != 'windows-latest' && 'git checkout master docs/index.d.ts && mv docs/index.d.ts .' || '' }}
38+
cp dist/*.node .
39+
cp dist/*.js .
40+
git rev-parse master > source_commit'
41+
git checkout master docs/index.d.ts && mv docs/index.d.ts .
4342
git status
4443
git config --global user.email "[email protected]"
4544
git config --global user.name "Alex Hultman"

0 commit comments

Comments
 (0)