Description
Description:
I enabled gradle caching in the setup java task for my action, first publishing worked nothing weird. But after changing code and wanting to make a new snapshot build of one of my libs it won't publish I constantly get a Received status code 403 from server: Forbidden
no matter what I do even disabling the caching won't make the issue go away.
I'm publishing to a self-hosted repo even after providing administrator permissions on Nexus the action was only able to publish 2 files before getting a 403 forbidden.
This issue does not happen when I publish from my own computer it only happens when running in the GitHub action.
I'm still not sure a 100% if the caching is at fault or something else but I've been fighting for over a week and can't seem to fix the issue.
Task version:
actions/setup-java@v4
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
- Create a simple action to publish libraries to a Nexus Repository or any repository. (Here is Mine)
- In the workflow enable gradle caching.
- Publish artifacts (Works as expected)
- Make changes for a new commit
- Publish artifacts -> Fails, server returns a 403 error.
- Disable caching and recommit
- Republish failed artifacts -> Still fails.
Expected behavior:
That I will be able to publish my artifacts
Actual behavior:
A description of what is actually happening.