mirror of
https://github.com/jgraph/drawio-desktop
synced 2025-04-29 16:27:22 +08:00
36 lines
786 B
YAML
36 lines
786 B
YAML
version: 1.0.{build}
|
|
|
|
platform:
|
|
- x64
|
|
|
|
cache:
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
clone_script:
|
|
- cmd: git clone --depth=1 -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
|
|
- cmd: cd %APPVEYOR_BUILD_FOLDER%
|
|
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
|
|
- ps: (gc .\.gitmodules) -replace 'git@github.com:','https://github.com/' | Out-File -encoding ASCII .gitmodules
|
|
- cmd: git submodule update --init --recursive
|
|
|
|
|
|
install:
|
|
- ps: Install-Product node 10 x64
|
|
- npm install -g yarn
|
|
- yarn install
|
|
- cd drawio/src/main/webapp
|
|
- yarn install
|
|
- cd ../..
|
|
|
|
before_build:
|
|
|
|
build_script:
|
|
- yarn run sync
|
|
- yarn run release-win
|
|
- yarn run sync disableUpdate
|
|
- yarn run release-appx
|
|
|
|
test: off
|