Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The process /usr/bin/gpg failed with exit code 2 #592

Closed
fwcd opened this issue Aug 17, 2023 · 1 comment
Closed

The process /usr/bin/gpg failed with exit code 2 #592

fwcd opened this issue Aug 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@fwcd
Copy link

fwcd commented Aug 17, 2023

Describe the bug

The step

- name: Install Swift
  uses: swift-actions/setup-swift@v1
  with:
    swift-version: '5.8'

fails on ubuntu-latest with the following error:

 /usr/bin/gpg --import /home/runner/work/_temp/c34cb312-c194-4c69-9454-3ddec91b539a
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
Error: Unexpected error, unable to continue. Please report at https://github.com/swift-actions/setup-swift/issues
The process '/usr/bin/gpg' failed with exit code 2
Stacktrace:
Error: The process '/usr/bin/gpg' failed with exit code 2
    at ExecState._setResult (/home/runner/work/_actions/swift-actions/setup-swift/v1/dist/index.js:3294:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/swift-actions/setup-swift/v1/dist/index.js:3277:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/swift-actions/setup-swift/v1/dist/index.js:3171:27)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

For the full log, see https://github.com/fwcd/swift-dns-service-discovery/actions/runs/5895114699/job/15990222238.

Workflow configuration (please complete the following information):

  • Action version (uses): swift-actions/setup-swift@v1
  • Platform (runs-on): ubuntu-latest
  • Swift version (swift-version): 5.8
@fwcd fwcd added the bug Something isn't working label Aug 17, 2023
@fwcd
Copy link
Author

fwcd commented Aug 17, 2023

Ah, looks like a duplicate of #591

@fwcd fwcd closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants