This commit is contained in:
xiaojunnuo
2025-12-29 14:24:27 +08:00
parent 13ddc979ec
commit f68b585f8f
2 changed files with 6 additions and 17 deletions
+5 -16
View File
@@ -26,22 +26,11 @@ jobs:
fetch-depth: 0 fetch-depth: 0
lfs: true lfs: true
- name: get_certd_version - run: |
id: get_certd_version npm install -g pnpm
uses: actions/github-script@v6 pnpm install
with: npm run build
result-encoding: string working-directory: ./packages/ui/certd-client
script: |
const fs = require('fs');
const path = require('path');
const pnpmWorkspace = "./pnpm-workspace.yaml";
fs.unlinkSync(pnpmWorkspace)
const jsonFilePath = "./packages/ui/certd-server/package.json";
const jsonContent = fs.readFileSync(jsonFilePath, 'utf-8');
const pkg = JSON.parse(jsonContent)
console.log("certd_version:",pkg.version);
return pkg.version
- name: zip_front - name: zip_front
id: zip_front id: zip_front
run: | run: |
+1 -1
View File
@@ -1 +1 @@
4 5