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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

"##[error]versionSpec parameter is required" when using rc Gradle version #29

Closed
mateuszkwiecinski opened this issue Aug 26, 2020 · 2 comments

Comments

@mateuszkwiecinski
Copy link

Hello 馃憢
When using

      - uses: eskatos/gradle-command-action@v1
        with:
          build-root-directory: sample
          gradle-version: rc
          dependencies-cache-enabled: true
          arguments: (...)

I'm getting "##[error]versionSpec parameter is required" error message
image

I tested with different arguments 6.1.1, current, rc, nightly, release-nightly but only rc fails with such message. According to the documentation even if it is not available it should fallback to current. Or do I get something wrong?

Thanks for creating and maintaining the plugin 馃憤

@eskatos
Copy link
Member

eskatos commented Sep 13, 2020

Hello Mateusz,
Thank you for the detailed report.
It's weird, this is working for me: https://github.com/eskatos/gradle-command-action/runs/1108208588?check_suite_focus=true#step:4:9
It could be a temporary problem with GitHub Actions agents network or with the Gradle versions json endpoint.
I changed the code to be more resilient to such problems and added some extra logging, please try again and report back if you encounter any problem, we'll reopen this issue if needed.

@eskatos eskatos closed this as completed Sep 13, 2020
@mateuszkwiecinski
Copy link
Author

I confirm it started to working again for me too 馃憤
My suspicion goes to the fact the 6.7-rc version has been released recently which fixed mentioned Gradle versions json endpoint. We'll see if the issue re-appears after 6.7 stable is released.
Thanks for help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants