Skip to content

Commit

Permalink
try configuring a snapshot repository
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Dec 23, 2024
1 parent 67c2623 commit 2d6f0c7
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,29 @@ jobs:
distribution: 'temurin'
server-id: central
cache: maven
- name: Initial Build
run: ./mvnw install -DskipTests
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: >
[
{
"id": "snapshot-repository",
"url": "https://oss.sonatype.org/content/repositories/snapshots/",
"releases": {
"enabled": "true",
"updatePolicy": "always",
"checksumPolicy": "fail"
},
"snapshots": {
"enabled": "tre",
"updatePolicy": "always",
"checksumPolicy": "fail"
}
}
]
output_file: .m2/settings.xml
# - name: Initial Build
# run: ./mvnw install -DskipTests
# - name: Hide core's main
# run: rm -rf core/src/main/java
- name: Apply rewrites
Expand Down

0 comments on commit 2d6f0c7

Please sign in to comment.