🐛Fix semversion
Nightly Build / build_nightly (push) Successful in 1m37s Details

This commit is contained in:
zhengyi 2024-03-27 23:37:56 +08:00
parent ef62e48620
commit 004c4b8610
1 changed files with 5 additions and 5 deletions

View File

@ -28,11 +28,6 @@ jobs:
with:
version: '8'
- name: Install dependencies and build frontend
run: |
pnpm install
pnpm run build:frontend
# Modify package.json version
- name: Modify package.json version
run: |
@ -40,6 +35,11 @@ jobs:
version=$(grep -Po '"version": "\K[0-9.]+' package.json)
sed -i "s/\"version\": \"$version\"/\"version\": \"$version-nightly.$buildNumber\"/g" package.json
- name: Install dependencies and build frontend
run: |
pnpm install
pnpm run build:frontend
# Log in to Docker Registry
- name: Log in to Docker Registry
uses: docker/login-action@v1