-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Cannot access the internet for github action workflow #2996
Comments
Hey, @Khalian! |
The URL is correct. The way my code works is, i need to fetch a DTD of an xml type (called music xml) in order to parse the music xml file into an internal format i prefer. I know for a fact its correct, since I run the same exact code in travis CI and it succeeds there, and I was considering migrating to github actions, but it seems there are technical limitations to your project to allow outbound connectivity to URLs from your build server. |
For instance here is a successful build in travis CI: https://travis-ci.com/github/Khalian/Modulo12/builds/220743765 And here is the PR i tried with both in tandem Khalian/Modulo12#14 and as you can see, the github actions one fails and the travis one succeeds. |
Hello @Khalian , Looks like your Travis build uses Java 14. Why do you use Java 8 in GitHub Actions build pipeline? (https://github.com/Khalian/Modulo12/pull/14/files#diff-d65baf3ad59488720aa50001fc7eb86b8f6ec0ca91534edb708dfe39e22aece0R19) After switching Java to 14, build passes successfully. |
Yep sorry about that. I just copied the default scala template and forgot about JDK version. |
Description
I cannot access the internet for github actions workflow
Question, Bug, or Feature?:
Bug
https://github.com/Khalian/Modulo12/pull/14/checks?check_run_id=2160911242
The text was updated successfully, but these errors were encountered: