Skip to content

Commit

Permalink
try to prevent settings.xml from being overwritten
Browse files Browse the repository at this point in the history
The setup-java action changes the server id to "ossrh" but
"Failed to decrypt password for server github" is a clue that
settings.xml was reverted back to its previous state where
the id was "github".

This issue seems related:
actions/cache#1195
  • Loading branch information
pdurbin authored May 24, 2024
1 parent bdb229e commit de84d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build, test, verify and publish snapshot
Expand Down

0 comments on commit de84d16

Please sign in to comment.