chore: github action build image

This commit is contained in:
xiaojunnuo
2024-07-23 22:52:56 +08:00
parent e40bb9e14d
commit 2877b9b505
2 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ jobs:
- name: get_certd_version
id: get_certd_version
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
const fs = require('fs');
@@ -36,7 +36,8 @@ jobs:
// 打印 JSON 文件内容
console.log("certd_version:",pkg.version);
// 输出 JSON 对象,可以在后续步骤中使用
echo "version=0.0.5" >> $GITHUB_OUTPUT
// echo "version=0.0.5" >> $GITHUB_OUTPUT
return {"version":"0.0.5"}
- name: Set up the working directory
run: |