Skip to content

ci: do not remove win executable #152

ci: do not remove win executable

ci: do not remove win executable #152

Workflow file for this run

name: Build and release
on:
push:
branches:
- 'beta'
- 'master'
jobs:
verify:
name: Verify and build
uses: ./.github/workflows/build.yml
release:
name: Release
runs-on: windows-latest
needs: verify
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Prepare
uses: actions/setup-node@v4
with:
# Do not include registy url here, it creates a .npmrc which prevents
# semantic-release from authenticating with npm
node-version: '22'
cache: 'npm'
- name: Install
run: npm ci
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ./build
pattern: executable-*
merge-multiple: true
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release