Open
Description
Describe the bug
Action randomly (sometimes it works, sometimes it fails) fails by producing this error (+log):
Run swift-actions/setup-swift@v2
with:
swift-version: 6.0
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/v2/dist/index.js:3195:25)
at ExecState.CheckComplete (/home/runner/work/_actions/swift-actions/setup-swift/v2/dist/index.js:3178:18)
at ChildProcess.<anonymous> (/home/runner/work/_actions/swift-actions/setup-swift/v2/dist/index.js:3072:27)
Workflow configuration (please complete the following information):
- Action version (
uses
):swift-actions/setup-swift@v2
- Platform (
runs-on
):ubuntu-24.04
- Swift version (
swift-version
):"6.0"