update pipeline-build-20220901.yml

This commit is contained in:
shenmo 2022-09-01 14:05:01 +00:00 committed by Gitee
parent e148ae1975
commit cda3db4105
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -31,12 +31,15 @@ stages:
- mv electron-v2.0.16-linux-x64.zip ./cache/electron/cache
- mv SHASUMS256.txt ./cache/electron/cache/SHASUMS256.txt-2.0.16
- 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/"
- yarn
- yarn package-linux
artifacts:
- name: BUILD_ARTIFACT
path:
- ./release
- ../release
caches:
- ~/.npm
- ~/.yarn