merge with develop #663
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Release | |
env: | |
GH_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} | |
on: push | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
linux_x64: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Build | |
run: npm ci | |
- name: Release | |
if: contains(github.ref, 'develop') | |
run: npm run dist:linux:x64 -- --publish always | |
linux_arm64: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build | |
run: npm ci | |
- name: Release | |
if: contains(github.ref, 'develop') | |
run: npm run dist:linux:arm64 -- --publish always | |
linux_arm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build | |
run: npm ci | |
- name: Release | |
if: contains(github.ref, 'develop') | |
run: npm run dist:linux:arm -- --publish always | |
dmg: | |
runs-on: macos-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build | |
run: npm ci | |
- name: Release | |
if: contains(github.ref, 'develop') | |
run: npm run dist:mac:x64 -- --publish always | |
exe: | |
runs-on: windows-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build | |
run: npm ci | |
- name: Release | |
if: contains(github.ref, 'develop') | |
run: npm run dist:windows -- --publish always |