2019-11-01 22:52:08 +01:00
|
|
|
name: Release CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
2023-05-10 08:48:13 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-05-27 12:33:34 +02:00
|
|
|
workflow_dispatch:
|
2023-05-10 08:48:13 +02:00
|
|
|
|
2019-11-01 22:52:08 +01:00
|
|
|
jobs:
|
|
|
|
build_on_linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-04-21 17:51:21 +02:00
|
|
|
- name: update apt
|
|
|
|
run: sudo apt-get update
|
2021-12-08 18:35:39 +01:00
|
|
|
- name: Install libarchive-tools
|
|
|
|
run: sudo apt-get install -y libarchive-tools
|
2019-11-01 22:52:08 +01:00
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
2024-07-09 11:06:57 +02:00
|
|
|
node-version: 22.4
|
2019-11-01 22:52:08 +01:00
|
|
|
- run: npm install
|
|
|
|
- run: npm run build
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: linux-builds
|
|
|
|
path: dist/
|
|
|
|
|
|
|
|
build_on_mac:
|
2023-05-10 08:48:13 +02:00
|
|
|
runs-on: macos-latest
|
2019-11-01 22:52:08 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
2024-07-09 11:06:57 +02:00
|
|
|
node-version: 22.4
|
2019-11-01 22:52:08 +01:00
|
|
|
- run: npm install
|
|
|
|
- run: npm run build
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: mac-builds
|
2020-10-04 11:52:08 +02:00
|
|
|
path: ./dist/
|
2019-11-01 22:52:08 +01:00
|
|
|
|
|
|
|
build_on_win:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
2024-07-09 11:06:57 +02:00
|
|
|
node-version: 22.4
|
2019-11-01 22:52:08 +01:00
|
|
|
- run: npm install
|
|
|
|
- run: npm run build
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: windows-builds
|
|
|
|
path: dist/
|