Closed johannes-link closed 1 year ago
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.
When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.
If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.
Hi @johannes-link, Thanks for the PR. Could you please share a link to a build that is failing due to this? We are testing different setups and I haven't seen the error you've described.
It'd be great if you could sign the OCA, so that I can merge your contribution.
Is this still needed?
Hi @fniephaus, sorry for my late reply. I used the GitHub action in the public GitHub and there it worked without any issues. In my real project I use GitHub Enterprise and self-hosted runners. There I get the 'bad credentials'-message. So I think there is a issue with our configurations and not with the GitHub action. We can close this PR. Thank you!
There I get the 'bad credentials'-message.
So do you still get this error in your GitHub Enterprise instance? If setting the default helps, I'm happy to fix this for you.
Hi @fniephaus, we have switched to the GraalVM Maven plugin. This works fine, so we don't need the change anymore. If nobody else has the same problem, I think it was an issue with our instance and not a general problem. But thanks for your support!
Ok, great. Glad to hear this is working for you! Also, with the new GraalVM for JDK 17/20 releases made available under the GFTC license, the gds-token
option is fortunately no longer needed :)
Hi @fniephaus,
Thanks for your work on GraalVM and on this GitHub action.
I've found the following bug: Currently there is no default value set for 'gds-token'. When I try to use GraalVM CE in this GitHub-action I get the error message 'Bad credentials'. It's not possible to manually set the 'gds-token' to an empty string, because GitHub ignores this.
Solution: Set the default value to an empty string (as described in the readme).
Best wishes!