Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

"##[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants