@loveme199 大佬,我就是参考的这个文章,上传的时候就报这个错误,网上找了很多,没有找到,配置的gpg密码都是对的
luckcz
-
-
就是我在自动化部署jar包到maven中央仓库时候通过action自动化脚本部署,然后出现错误,网上查询不到,有没有搞过的大佬
Importing GPG key…
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
child_process.js:660
throw err;
^Error: Command failed: gpg --import --batch /home/runner/work/_actions/samuelmeuli/action-maven-publish/v1/private-key.txt
at checkExecSyncError (child_process.js:621:11)
at execSync (child_process.js:657:15)
at run (/home/runner/work/_actions/samuelmeuli/action-maven-publish/v1/index.js:23:9)
at runAction (/home/runner/work/_actions/samuelmeuli/action-maven-publish/v1/index.js:75:3)
at Object.<anonymous> (/home/runner/work/_actions/samuelmeuli/action-maven-publish/v1/index.js:89:1)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
status: 2,
signal: null,
大佬们,帮忙解决一个问题
大佬们,帮忙解决一个问题