update pipeline-build-20220901.yml
This commit is contained in:
parent
ca11918754
commit
26f5928656
@ -24,17 +24,18 @@ stages:
|
|||||||
commands:
|
commands:
|
||||||
- '# 设置NPM源,提升安装速度'
|
- '# 设置NPM源,提升安装速度'
|
||||||
- npm config set registry https://registry.npmmirror.com
|
- npm config set registry https://registry.npmmirror.com
|
||||||
- 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 ./cache/electron
|
|
||||||
- mkdir ./cache/electron/cache
|
|
||||||
- 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
|
- npm i yarn -g
|
||||||
- yarn config set registry "https://registry.npmmirror.com"
|
- 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_builder_binaries_mirror "https://npmmirror.com/mirrors/electron-builder-binaries/"
|
||||||
- yarn config set electron_mirror "https://cdn.npmmirror.com/binaries/electron/"
|
- yarn config set electron_mirror "https://cdn.npmmirror.com/binaries/electron/"
|
||||||
- yarn cache clean
|
- yarn cache clean
|
||||||
|
- '#下载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 $HOME/.cache/electron/cache
|
||||||
|
- mv electron-v2.0.16-linux-x64.zip $HOME/.cache/electron/cache
|
||||||
|
- mv SHASUMS256.txt $HOME/.cache/electron/cache/SHASUMS256.txt-2.0.16
|
||||||
|
- '#'
|
||||||
- mkdir ../release
|
- mkdir ../release
|
||||||
- yarn
|
- yarn
|
||||||
- yarn package-linux
|
- yarn package-linux
|
||||||
|
Loading…
Reference in New Issue
Block a user