update pipeline-build-20220901.yml

This commit is contained in:
shenmo 2022-09-01 15:11:05 +00:00 committed by Gitee
parent 4ccf7ba00d
commit 523316b34f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -27,14 +27,7 @@ stages:
- npm i yarn -g
- 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://cdn.npmmirror.com/binaries/electron/"
- '#下载electron'
- wget https://kgithub.com/electron/electron/releases/download/v2.0.16/electron-v2.0.16-linux-x64.zip
- wget https://kgithub.com/electron/electron/releases/download/v2.0.16/SHASUMS256.txt
- mkdir -p /usr/local/share/.cache/yarn/v6/electron/cache
- mv electron-v2.0.16-linux-x64.zip /usr/local/share/.cache/yarn/v6/electron/cache
- mv SHASUMS256.txt /usr/local/share/.cache/yarn/v6/electron/cache/SHASUMS256.txt-2.0.16
- '#'
- yarn config set electron_mirror "https://code.gitlink.org.cn/shenmo7192/electron-releases/raw/branch/master/"
- mkdir ../release
- yarn
- yarn package-linux