-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
49 lines (44 loc) · 1.11 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Commented sections below can be used to run tests on the CI server
# https://simulatedgreg.gitbooks.io/electron-vue/content/en/testing.html#on-the-subject-of-ci-testing
version: 1.0.{build}
skip_non_tags: true
branches:
only:
- master
- /\d+\.\d+\.\d+/
image: Visual Studio 2017
platform:
- x64
cache:
- node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 x64
- git reset --hard HEAD
- npm install
- node --version
build:
verbosity: minimal
build_script:
#- yarn test
- npm run build
test: off
deploy:
- provider: GitHub
tag: v1.0.1
release: v1.0.1
description: 'Release'
auth_token:
secure: AAtnf9eJWdGGr6Ce4idQKaRA8BnrNhS1uOzcXlksTUYiXWKQhceZdH9hcKBqwuwe # your encrypted token from GitHub
repository: cyy0418/ceditor
artifact: /.*\.nupkg/
draft: false
prerelease: false
force_update: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only