mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
8e7abc4897
Fix development mode not being recognized on linux and mac
34 lines
573 B
YAML
34 lines
573 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
language: node_js
|
|
node:
|
|
- 16
|
|
|
|
if: tag IS blank AND commit_message =~ ci-build
|
|
|
|
jobs:
|
|
include:
|
|
- name: "macOS"
|
|
os: osx
|
|
osx_image: "xcode14.2"
|
|
script:
|
|
- npm run prepublish
|
|
- electron-builder --publish=always
|
|
|
|
- name: "Linux"
|
|
os: linux
|
|
script:
|
|
- npm run prepublish
|
|
- sudo apt-get install rpm
|
|
- electron-builder --publish=onTagOrDraft
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
install:
|
|
- npm install
|
|
|
|
notifications:
|
|
email: false |