Skip to content

Add v22.6.0

Add v22.6.0 #95

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:
toolset: 19.39
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