Skip to content

Commit

Permalink
chore: Update GitHub Actions workflow to restructure Maven settings f…
Browse files Browse the repository at this point in the history
…or repository configuration
  • Loading branch information
hyyan committed Nov 22, 2024
1 parent a29e346 commit 277ca61
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,6 @@ jobs:
- name: Write maven settings
uses: whelk-io/maven-settings-xml-action@v20
with:
repositories: |
[
{
"id": "ossrh",
"url": "https://s01.oss.sonatype.org/content/repositories/snapshots",
"releases": {
"enabled": "false"
},
"snapshots": {
"enabled": "true"
}
}
]
servers: >
[
{
Expand All @@ -107,6 +94,18 @@ jobs:
"id": "ossrh",
"activation": {
"activeByDefault": true
},
"repositories": {
"repository": {
"id": "ossrh",
"url": "https://s01.oss.sonatype.org/content/repositories/snapshots",
"releases": {
"enabled": "false"
},
"snapshots": {
"enabled": "true"
}
}
}
}
]
Expand Down

0 comments on commit 277ca61

Please sign in to comment.