on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
env:
RELEASE: Release v3.5.3
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
name: Release
jobs:
build:
name: Bundle
runs-on: ${{ matrix.os }}
strategy:
matrix:
branch: [v3.5.3, v2.5.2, v1.15.2] os: [windows-latest, macOS-latest, macos-15-intel, ubuntu-22.04, ubuntu-22.04-arm]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 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@efb35369e0ad2afab669f228072c1b0d510eae64 if: ${{ env.RELEASE != '' && env.RELEASE != 'no' }}
with:
name: ${{ env.RELEASE }}
draft: true
body_path: doc/release-notes.md
files: |
out/bundle/*.tar.gz