Add v23.0.0 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
update: | |
name: Windows | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
# https://github.com/nodejs/node/issues/52664 | |
# arch: [amd64, amd64_arm64] | |
arch: [amd64] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{ matrix.arch }} | |
- uses: MinoruSekine/setup-scoop@v3 | |
with: | |
update_path: true | |
run_as_admin: true | |
scoop_update: true | |
- name: Install building tools | |
run: scoop install git nodejs python ninja nasm 7zip | |
- name: Run the script | |
env: | |
ARCH: ${{ matrix.arch }} | |
run: node index.js | |
- name: Create archive | |
run: | | |
cd node\out\Release | |
7z a -mx9 "libnode-${{ matrix.arch }}-windows.zip" libnode.* node.* | |
- name: Upload binaries to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
overwrite: true | |
tag: ${{ github.ref }} | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: node\out\Release\libnode-${{ matrix.arch }}-windows.zip |