update pipeline-build-20220901.yml

This commit is contained in:
shenmo 2022-09-01 16:18:27 +00:00 committed by Gitee
parent bd55a0f918
commit f1ce7ad848
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@ version: '1.0'
name: pipeline-build-20220901
displayName: pipeline-build
triggers:
trigger: auto
trigger: manual
push:
branches:
prefix:
@ -28,8 +28,10 @@ stages:
- yarn config set registry "https://registry.npmmirror.com"
- yarn config set electron_builder_binaries_mirror "https://npmmirror.com/mirrors/electron-builder-binaries/"
- yarn config set electron_mirror "https://code.gitlink.org.cn/shenmo7192/electron-releases/raw/branch/master/"
- mkdir -p /root/.cache/electron-builder/app-builder/
- mkdir ../release
- echo "140.82.113.4 github.com" >> /etc/hosts
- ELECTRON_BUILDER_BINARIES_MIRROR =https://registry.npmmirror.com/binary.html?path=electron-builder-binaries/
- yarn add electron-builder@19.56.2 -g
- yarn
- yarn package-linux
artifacts: