mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-22 08:08:39 +00:00
ci(fix): 修改ci使用的action为node10
This commit is contained in:
4
.github/workflows/release-drafter.yml
vendored
4
.github/workflows/release-drafter.yml
vendored
@@ -34,12 +34,12 @@ jobs:
|
|||||||
|
|
||||||
build-and-release:
|
build-and-release:
|
||||||
needs: create-realese
|
needs: create-realese
|
||||||
name: Build and Release Matrix
|
name: Build and Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build it and upload
|
- name: Build it and upload
|
||||||
uses: jumpserver/action-build-upload-assets@master
|
uses: jumpserver/action-build-upload-assets@node10
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -21,9 +21,10 @@ if [[ -n ${VERSION} ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 下载依赖模块并构建
|
# 下载依赖模块并构建
|
||||||
cd "${project_dir}" && yarn || exit 3
|
cd "${project_dir}" || exit 3
|
||||||
|
yarn || exit 4
|
||||||
rm -rf lina dist
|
rm -rf lina dist
|
||||||
yarn build:prod || exit 4
|
yarn build:prod || exit 5
|
||||||
|
|
||||||
# 打包
|
# 打包
|
||||||
rm -rf "${release_dir:?}"/*
|
rm -rf "${release_dir:?}"/*
|
||||||
|
|||||||
Reference in New Issue
Block a user