Skip to content

Update release.yml

Update release.yml #9

Workflow file for this run

on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
version: ["14.21.3", "16.20.2", "18.19.0", "20.11.0", "21.6.1"]
env:
NODEJS_VERSION: ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
- name: Build NodeJS Windows x64
shell: powershell
run: .\build.bat ${{ env.NODEJS_VERSION }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: .\node-shared-v${{ env.NODEJS_VERSION }}-x64.zip