mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
40 lines
752 B
YAML
40 lines
752 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
language: node_js
|
|
node:
|
|
- 12
|
|
|
|
if: branch = master
|
|
|
|
jobs:
|
|
include:
|
|
- name: "macOS"
|
|
os: osx
|
|
osx_image: "xcode11.3"
|
|
script:
|
|
- electron-builder --publish=always
|
|
|
|
- name: "Windows"
|
|
os: osx
|
|
osx_image: "xcode11.3"
|
|
script:
|
|
- electron-builder --windows portable --x64 --publish=onTagOrDraft -c.productName='Blockbench_portable'
|
|
- electron-builder -w --ia32 --x64 --publish=onTagOrDraft
|
|
|
|
- name: "Linux"
|
|
os: linux
|
|
script:
|
|
- sudo apt-get install rpm
|
|
- electron-builder --publish=onTagOrDraft
|
|
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
install:
|
|
- npm install
|
|
|
|
notifications:
|
|
email: false |