Skip to content

fix: print version string to stdout for version action #170

fix: print version string to stdout for version action

fix: print version string to stdout for version action #170

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
secrets: inherit
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