Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 1

Unable to push to GitHub Packages (400 Bad Request)

Hi all,


I'm trying to configure GitHub Actions to work with GitHub Packages.


I've taken Gradle configuration from

I've configured env variables as in tutorial, there is step in yml:

- name: Publish with Gradle
run: ./gradlew publish
GPR_USER: augur
GPR_API_KEY: ${{ secrets.GITHUB_TOKEN }}

But I'm keep getting

Execution failed for task ':publishGprPublicationToGitHubPackagesRepository'.

> Failed to publish publication 'gpr' to repository 'GitHubPackages' 

> Task :publishGprPublicationToGitHubPackagesRepository FAILED


maven-metadata.xml'. Received status code 400 from server: Bad Request

Similar topic:
There, @EoflaOE  said that problem was in credentials, but in the last post @sappenin told that recently he started getting 400 regardless of credentials.

May it be some global issue?