Two stage build

This commit is contained in:
portree_kid 2020-06-25 16:14:36 +02:00
parent 55df912131
commit 01f3db55dd

View File

@ -4,11 +4,21 @@ dist: xenial
language: node_js
node_js:
- 10.15.3
matrix:
jobs:
include:
- os: osx
- os: windows
- os: linux
- stage: Build binaries
os: osx
workspaces:
create:
name: osx-binaries
os: windows
workspaces:
create:
name: win-binaries
os: linux
workspaces:
create:
name: linux-binaries
cache:
directories:
- node_modules
@ -22,9 +32,16 @@ install:
- npm install
script:
- npm run build
deploy:
- stage: Deploy
workspaces:
use:
- linux-binaries
- osx-binaries
- win-binaries
deploy:
skip_cleanup: true
overwrite: true
draft: true
name: '0.0.15'
provider: releases
api_key: