update pipeline-build-20220901.yml

This commit is contained in:
shenmo 2022-09-01 16:58:48 +00:00 committed by Gitee
parent e9fa7cfeb2
commit 0dfdcb4e59
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -31,10 +31,19 @@ stages:
- mkdir -p /root/.cache/electron-builder/app-builder/ - mkdir -p /root/.cache/electron-builder/app-builder/
- mkdir ../release - mkdir ../release
- ELECTRON_BUILDER_BINARIES_MIRROR =https://registry.npmmirror.com/binary.html?path=electron-builder-binaries/ - ELECTRON_BUILDER_BINARIES_MIRROR =https://registry.npmmirror.com/binary.html?path=electron-builder-binaries/
- '###'
- mkdir -p /root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64 - mkdir -p /root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64
- WORK_DIR=`pwd`
- cd /root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64
- 'wget https://code.gitlink.org.cn/shenmo7192/electron-releases/raw/branch/master/app-builder-v0.6.1-linux-x64.7z ' - 'wget https://code.gitlink.org.cn/shenmo7192/electron-releases/raw/branch/master/app-builder-v0.6.1-linux-x64.7z '
- '7z x app-builder-v0.6.1-linux-x64.7z ' - '7z x app-builder-v0.6.1-linux-x64.7z '
- mv app-builder /root/.cache/electron-builder/app-builder/app-builder-v0.6.1-x64 - cd $WORK_DIR
- '###'
- mkdir -p /root/.cache/electron-builder/appimage/appimage-9.0.5
- cd /root/.cache/electron-builder/appimage/appimage-9.0.5
- wget https://code.gitlink.org.cn/shenmo7192/electron-releases/raw/branch/master/appimage-9.0.5.7z
- 7z x appimage-9.0.5.7z
- cd $WORK_DIR
- yarn - yarn
- yarn package-linux - yarn package-linux
artifacts: artifacts: