# Error while downloading action from github

**URL:** <https://forum.gitea.com/t/error-while-downloading-action-from-github/11475>\
**Category:** Actions\
**Created:** [June 30, 2025, 1:51pm UTC](https://forum.gitea.com/t/error-while-downloading-action-from-github/11475 "2025-06-30T13:51:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![datenimperator](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/datenimperator/32/1771_2.png) [@datenimperator](https://forum.gitea.com/u/datenimperator)\
**Post date:** [June 30, 2025, 1:51pm UTC](https://forum.gitea.com/t/error-while-downloading-action-from-github/11475/1 "2025-06-30T13:51:32Z")

</div>

I’m trying to use the action `gradle/actions/setup-gradle@v4` in my workflow. The “Set up job” phase clones the actions, but timeouts after ~10 minutes on the gradle action. The other 3 actions are fine. Nothing relevant in the firewall logs.

The action is used exactly like in the GH docs: [actions/setup-gradle/README.md at main · gradle/actions · GitHub](https://github.com/gradle/actions/blob/main/setup-gradle/README.md)

Some runs end in a timeout after ~10min, other result in a quick error:

```auto
Checked out v4
  ☁ git clone 'https://github.com/gradle/actions' # ref=v4
  cloning https://github.com/gradle/actions to /root/.cache/act/824f6acaca7cd5e83324994e0faf8dd3030eeb2d610ef0f5c93a95c93a535f04
Unable to resolve v4: unsupported object type
Unable to resolve v4: unsupported object type
unsupported object type

```

Accessing the URLs manually works flawlessly.

Any tips on how to debug that? Regards

Christian

---

<div class="post-metadata">

**Author:** ![datenimperator](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/datenimperator/32/1771_2.png) [@datenimperator](https://forum.gitea.com/u/datenimperator)\
**Post date:** [July 1, 2025, 7:45am UTC](https://forum.gitea.com/t/error-while-downloading-action-from-github/11475/2 "2025-07-01T07:45:20Z")

</div>

To answer my own question: There seems to be a problem with the v4 version tag. Using v3 works. I created an issue for act to ask for help. [Cloning of gradle/actions/setup-gradle@v4 fails · Issue #5862 · nektos/act · GitHub](https://github.com/nektos/act/issues/5862)

btw being able to run workflows locally is a huge timesaver while debugging. Much appreciated.
