Skip to content

1.12.0-beta.14

1.12.0-beta.14 #117

Workflow file for this run

name: Build/release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
arch: [x64, arm64]
exclude:
- os: ubuntu-latest
arch: arm64
max-parallel: 3
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install Ubuntu X11
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libx11-dev libxext-dev libxtst-dev libxrender-dev libxmu-dev libxmuu-dev
- name: ${{ matrix.os }} ${{ matrix.arch }} build
env:
M_ARCH: ${{matrix.arch}}
run: |
npm install
npm run dist
- name: upload
uses: actions/upload-artifact@v3
with:
path: |
build/*.exe
build/*.zip
build/*.tar.gz
build/*.deb
build/*.rpm
build/*.dmg
- name: release
uses: softprops/action-gh-release@v1
with:
files: "build/*"
draft: false
prerelease: true
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}