Build fails because of Swift #9963
-
I've seen both an issue and discussion about this error and it seems to have been closed but I still get the same error even when I clone directly from https://github.com/actions/runner-images.git
Is it something that I need to do to fix this or is it still an issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Same for me still an issue! |
Beta Was this translation helpful? Give feedback.
-
We're locking this discussion because it has not had recent activity and/or other members have asked for more information to assist you but received no response. Thank you for helping us maintain a productive and tidy community for all our members. |
Beta Was this translation helpful? Give feedback.
We noticed a change in the swift script: Download ist now from gpg --keyserver hkp://keyserver.ubuntu.com \ instead of pgp_key_path=$(download_with_retry "https://swift.org/keys/all-keys.asc")
gpg --no-default-keyring --keyring swift --import "$pgp_key_path"
The issue is that hkp:// is using the default port 11371, so for us the firewall is blocking this. As a solution you could change it to gpg --keyserver hkp://keyserver.ubuntu.com:80 so the request will go over port 80 which is usually allowed.