@@ -18,33 +18,33 @@ jobs:
1818 steps :
1919 - uses : actions/checkout@v4
2020
21- # - uses: ilammy/msvc-dev-cmd@v1
22- # with:
23- # arch: ${{ matrix.arch }}
24-
25- # - uses: MinoruSekine/setup-scoop@v3
26- # with:
27- # update_path: true
28- # run_as_admin: true
29- # scoop_update: true
30-
31- # - name: Install building tools
32- # run: scoop install git nodejs python ninja nasm 7zip
33-
34- # - name: Run the script
35- # env:
36- # ARCH: ${{ matrix.arch }}
37- # run: node index.js
38-
39- # - name: Create archive
40- # run: |
41- # cd node\out\Release
42- # 7z a -mx9 "libnode-${{ matrix.arch }}-windows.zip" libnode.* node.*
43-
44- # - name: Upload binaries to release
45- # uses: svenstaro/upload-release-action@v2
46- # with:
47- # overwrite: true
48- # tag: ${{ github.ref }}
49- # repo_token: ${{ secrets.GITHUB_TOKEN }}
50- # file: node\out\Release\libnode-${{ matrix.arch }}-windows.zip
21+ - uses : ilammy/msvc-dev-cmd@v1
22+ with :
23+ arch : ${{ matrix.arch }}
24+
25+ - uses : MinoruSekine/setup-scoop@v3
26+ with :
27+ update_path : true
28+ run_as_admin : true
29+ scoop_update : true
30+
31+ - name : Install building tools
32+ run : scoop install git nodejs python ninja nasm 7zip
33+
34+ - name : Run the script
35+ env :
36+ ARCH : ${{ matrix.arch }}
37+ run : node index.js
38+
39+ - name : Create archive
40+ run : |
41+ cd node\out\Release
42+ 7z a -mx9 "libnode-${{ matrix.arch }}-windows.zip" libnode.* node.*
43+
44+ - name : Upload binaries to release
45+ uses : svenstaro/upload-release-action@v2
46+ with :
47+ overwrite : true
48+ tag : ${{ github.ref }}
49+ repo_token : ${{ secrets.GITHUB_TOKEN }}
50+ file : node\out\Release\libnode-${{ matrix.arch }}-windows.zip
0 commit comments