加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
version: 0.1.{build}
image: Visual Studio 2017
platform:
- x64
clone_folder: c:\projects\marktext
branches:
only:
- master
- develop
- /^release-v[0-9.]+(?:-[0-9a-zA-Z\.]+)?$/
skip_tags: true
environment:
MARKTEXT_IS_STABLE: 1
MARKTEXT_EXIT_ON_ERROR: 1
GITHUB_TOKEN:
secure: Ki5AJWygDYhzMJxl0b0rDx3bhAYmar2aPdwVHiai9IigqsvZpWHLeI3qpTiiaOWL
GH_TOKEN:
secure: Ki5AJWygDYhzMJxl0b0rDx3bhAYmar2aPdwVHiai9IigqsvZpWHLeI3qpTiiaOWL
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 10 $env:PLATFORM
- node --version
- npm --version
- yarn --version
- yarn install --frozen-lockfile
cache:
- node_modules
- '%LOCALAPPDATA%\electron\Cache'
- '%LOCALAPPDATA%\electron-builder\cache'
- '%LOCALAPPDATA%\Yarn\cache'
build_script:
- yarn run lint
- yarn run validate-licenses
- yarn run test
- yarn run release:win
# calculate checksums
- ps: get-filehash -Algorithm SHA256 "build\marktext-*.exe"
- ps: get-filehash -Algorithm SHA256 "build\marktext-*-win.zip"
test: off
# test_script:
# - yarn run test
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化