on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
env:
RELEASE: v3.3.0
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
name: Release
jobs:
build:
name: Bundle
runs-on: ${{ matrix.os }}
strategy:
matrix:
branch: [v1.9.8,v2.3.0,v3.3.0] os: [windows-latest, macOS-latest, macos-15-intel, ubuntu-22.04, ubuntu-22.04-arm]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: ${{ matrix.branch }}
fetch-tags: true
fetch-depth: 0
- name: Build (Windows)
if: runner.os == 'Windows'
run: |
./bin/bundle.bat
- name: Build (Linux, macOS)
if: runner.os != 'Windows'
run: |
./bin/bundle.sh
- name: Release
uses: softprops/action-gh-release@v2
if: ${{ env.RELEASE != '' && env.RELEASE != 'no' }}
with:
name: ${{ env.RELEASE }}
draft: true
body_path: doc/release-notes.md
files: |
out/bundle/*.tar.gz