updated ci
This commit is contained in:
parent
370e5757f0
commit
a4d79c3640
13
.drone.yml
13
.drone.yml
@ -25,17 +25,18 @@ type: kubernetes
|
||||
name: build:tag
|
||||
|
||||
steps:
|
||||
- name: run electron packager
|
||||
- name: run packager
|
||||
depends_on: ["clone"]
|
||||
image: node:15.11.0-alpine3.13
|
||||
image: node:19.8.1.0-alpine3.17
|
||||
commands:
|
||||
- apk add git zip -f
|
||||
- yarn
|
||||
- yarn build
|
||||
- npm i -g pnpm
|
||||
- pnpm i
|
||||
- pnpm build
|
||||
- mkdir dist
|
||||
- zip -r dist/@lfk-scanclient-electron-linux-x64.zip out/@lfk-scanclient-electron-linux-x64
|
||||
- zip -r dist/@lfkscan-linux-x64.zip dist/@lfkscan-linux_x64
|
||||
- name: gitea_release
|
||||
depends_on: ["run electron packager"]
|
||||
depends_on: ["run packager"]
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
title: Release ${DRONE_TAG}
|
||||
|
Reference in New Issue
Block a user