mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-12-24 02:00:55 +08:00
add appveyor.yml
This commit is contained in:
33
appveyor.yml
Normal file
33
appveyor.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
version: '{build}'
|
||||
image: Visual Studio 2017
|
||||
configuration: Release
|
||||
platform: Any CPU
|
||||
cache:
|
||||
- packages -> **\packages.config
|
||||
- '%USERPROFILE%\.nuget\packages -> **\project.json'
|
||||
before_build:
|
||||
- cmd: nuget restore
|
||||
build:
|
||||
verbosity: minimal
|
||||
after_build:
|
||||
- cmd: >-
|
||||
type GitVersion.cs
|
||||
cd Build
|
||||
move QuickLook.msi ..\QuickLook-%APPVEYOR_REPO_TAG_NAME%.msi
|
||||
dir ..\QuickLook-%APPVEYOR_REPO_TAG_NAME%.msi
|
||||
7z a ..\QuickLook-%APPVEYOR_REPO_TAG_NAME%.zip .\Package\* -r
|
||||
7z l ..\QuickLook-%APPVEYOR_REPO_TAG_NAME%.zip
|
||||
artifacts:
|
||||
- path: QuickLook-$(APPVEYOR_REPO_TAG_NAME).zip
|
||||
name: QuickLook-$(APPVEYOR_REPO_TAG_NAME)
|
||||
- path: QuickLook-$(APPVEYOR_REPO_TAG_NAME).msi
|
||||
name: QuickLook-$(APPVEYOR_REPO_TAG_NAME)
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
auth_token:
|
||||
secure: YwPL9DCYIWsHKBT7WMnx+IHTWph9fEOUBpnfZhZMTgz6VzWem01X+l/vZPlFxCG/
|
||||
artifact: QuickLook-$(APPVEYOR_REPO_TAG_NAME)
|
||||
draft: true
|
||||
on:
|
||||
branch: master
|
||||
APPVEYOR_REPO_TAG: true
|
||||
Reference in New Issue
Block a user