-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
50 lines (42 loc) · 1.21 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
50
# 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: 0.1.{build}
branches:
only:
- master
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.7 x64
#- choco install yarn --ignore-dependencies
- npm install -g npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- git reset --hard HEAD
#- yarn
- npm install
- node --version
build_script:
#- yarn test
#- yarn build
- npm run build
test: off
deploy:
release: TIGER-v$(appveyor_build_version)
description: 'The ultimate game editor'
provider: GitHub
auth_token:
secure: DLQOIGsW8ctzIrRwUKu6+ifjaAaHWGil1bs1lfzHgLwze4rcSQuQnpKga1VBQEdA # your encrypted token from GitHub
artifact: /.*\.nupkg/ # upload all NuGet packages to release assets
draft: true
prerelease: true
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only