-
Notifications
You must be signed in to change notification settings - Fork 145
/
appveyor.yml
53 lines (43 loc) · 1.06 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
51
52
53
# 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 2019
platform:
- x86
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 10 x86
- npm install -g [email protected]
- git reset --hard HEAD
- yarn
- node --version
build_script:
#- yarn test
- yarn build:dir
after_build:
- ps: Rename-Item -path build\win-ia32-unpacked -newName YUKI
- 7z a -t7z YUKI.zip %APPVEYOR_BUILD_FOLDER%\build\YUKI
test: off
artifacts:
- path: YUKI.zip
name: YUKI
deploy:
release: v$(appveyor_build_version)
provider: GitHub
auth_token:
secure: jrOwWRtwmimOB6Wn0mZkhkzdoXCVg7kpYi8RHYWLKYNF/5C/MNY/+E0Px+OvGc58
artifact: YUKI.zip
draft: true
prerelease: false
on:
branch: master
APPVEYOR_REPO_TAG: false