chore: github action build image

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

View File

@ -1 +1 @@
2 3