-
Notifications
You must be signed in to change notification settings - Fork 903
Closed
Description
The deployment of snapshot artifacts failed due to a 401 Unauthorized error: https://github.com/google/google-java-format/runs/1455239922
Note: a run on a fork reports "green", as the publish step is skipped: https://github.com/sormuras/google-java-format/actions/runs/383909185
These are the lines in question that trigger the upload:
google-java-format/.github/workflows/ci.yml
Lines 50 to 58 in c1dd08d
| - name: 'Set up JDK 15' | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 15 | |
| server-id: sonatype-nexus-snapshots | |
| server-username: CI_DEPLOY_USERNAME | |
| server-password: CI_DEPLOY_PASSWORD | |
| - name: 'Publish' | |
| run: mvn source:jar deploy -B -DskipTests=true -Dinvoker.skip=true -Dmaven.javadoc.skip=true |
Reading https://github.com/actions/setup-java#publishing-using-apache-maven again, I think that all required credentials are given, passed, and written to correct configuration files. It should, if it worked, render the util/settings.xml superseded.
Metadata
Metadata
Assignees
Labels
No labels