@@ -159,34 +159,34 @@ jobs:
159159 asset_path : ./build/Release/node-raylib.node
160160 asset_name : node-raylib-linux-x64.node
161161 asset_content_type : application/octet-stream
162- # windows:
163- # runs-on: windows-latest
164- # needs: create_release
165- # steps:
166- # - name: checkout
167- # uses: actions/checkout@v2
168- # with:
169- # fetch-depth: 0
170- # - name: Cache Node Dependencies
171- # id: cache
172- # uses: actions/cache@v2
173- # with:
174- # path: ./node_modules
175- # key: modules-${{ hashFiles('package-lock.json') }}
176- # - name: Install Node Dependencies
177- # if: steps.cache.outputs.cache-hit != 'true'
178- # run: npm ci --ignore-scripts
179- # - name: Build Node Addon
180- # run: npm run compile
181- # - name: upload windows artifact
182- # uses: actions/upload-release-asset@v1
183- # env:
184- # GITHUB_TOKEN: ${{ github.token }}
185- # with:
186- # upload_url: ${{ needs.create_release.outputs.upload_url }}
187- # asset_path: ./build/Release/node-raylib.node
188- # asset_name: node-raylib-win32-x64.node
189- # asset_content_type: application/octet-stream
162+ windows :
163+ runs-on : windows-latest
164+ needs : create_release
165+ steps :
166+ - name : checkout
167+ uses : actions/checkout@v2
168+ with :
169+ fetch-depth : 0
170+ - name : Cache Node Dependencies
171+ id : cache
172+ uses : actions/cache@v2
173+ with :
174+ path : ./node_modules
175+ key : modules-${{ hashFiles('package-lock.json') }}
176+ - name : Install Node Dependencies
177+ if : steps.cache.outputs.cache-hit != 'true'
178+ run : npm ci --ignore-scripts
179+ - name : Build Node Addon
180+ run : npm run compile
181+ - name : upload windows artifact
182+ uses : actions/upload-release-asset@v1
183+ env :
184+ GITHUB_TOKEN : ${{ github.token }}
185+ with :
186+ upload_url : ${{ needs.create_release.outputs.upload_url }}
187+ asset_path : ./build/Release/node-raylib.node
188+ asset_name : node-raylib-win32-x64.node
189+ asset_content_type : application/octet-stream
190190 macos :
191191 runs-on : macos-latest
192192 needs : create_release
0 commit comments