Navigation

    GitHub中文社区
    • GitHub排行榜

    论坛

    • Login
    • Categories
    • Recent
    • Tags
    • Popular

    大佬们,帮忙解决一个问题

    Github & Git
    2
    3
    359
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • luckcz
      luckcz last edited by

      就是我在自动化部署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,

      1 Reply Last reply Reply Quote 0
      • loveme199
        loveme199 last edited by loveme199

        GPG密钥没配对把,参考 https://segmentfault.com/a/1190000039716048

        luckcz 1 Reply Last reply Reply Quote 0
        • luckcz
          luckcz @loveme199 last edited by

          @loveme199 大佬,我就是参考的这个文章,上传的时候就报这个错误,网上找了很多,没有找到,配置的gpg密码都是对的

          1 Reply Last reply Reply Quote 0
          • First post
            Last post