2017-10-27 01:04:16 +08:00
|
|
|
sudo: required
|
2017-10-27 01:33:15 +08:00
|
|
|
dist: trusty
|
|
|
|
|
2019-01-02 21:27:42 +08:00
|
|
|
language: node_js
|
2020-07-16 15:32:59 +08:00
|
|
|
node:
|
2023-11-14 03:44:12 +08:00
|
|
|
- 16
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2021-08-22 05:10:52 +08:00
|
|
|
if: tag IS blank AND commit_message =~ ci-build
|
2020-07-16 18:40:47 +08:00
|
|
|
|
2020-03-15 04:37:09 +08:00
|
|
|
jobs:
|
2017-10-27 01:04:16 +08:00
|
|
|
include:
|
2020-07-16 15:32:59 +08:00
|
|
|
- name: "macOS"
|
2019-01-02 21:15:43 +08:00
|
|
|
os: osx
|
2024-04-19 03:45:20 +08:00
|
|
|
osx_image: "xcode14.2"
|
2020-01-26 02:07:39 +08:00
|
|
|
script:
|
2023-11-03 05:28:12 +08:00
|
|
|
- npm run prepublish
|
2020-10-27 22:32:30 +08:00
|
|
|
- electron-builder --publish=always
|
2019-01-03 00:08:58 +08:00
|
|
|
|
2019-01-02 21:15:43 +08:00
|
|
|
- name: "Linux"
|
2019-07-18 00:02:07 +08:00
|
|
|
os: linux
|
|
|
|
script:
|
2023-11-03 05:28:12 +08:00
|
|
|
- npm run prepublish
|
2019-07-18 00:02:07 +08:00
|
|
|
- sudo apt-get install rpm
|
2020-07-16 15:32:59 +08:00
|
|
|
- electron-builder --publish=onTagOrDraft
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
2019-01-03 00:16:05 +08:00
|
|
|
- node_modules
|
2017-10-27 01:33:15 +08:00
|
|
|
|
2017-10-27 01:04:16 +08:00
|
|
|
install:
|
2020-07-16 15:32:59 +08:00
|
|
|
- npm install
|
2019-01-02 22:04:45 +08:00
|
|
|
|
2019-01-02 21:20:12 +08:00
|
|
|
notifications:
|
|
|
|
email: false
|