Skip to content

Commit

Permalink
sonatype snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hartmeier committed Nov 26, 2023
1 parent 3f2e31c commit bffc556
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches: [ "main" ]

jobs:
setings:

build:

runs-on: ubuntu-latest
Expand All @@ -19,5 +21,9 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v4
with:
repositories: '[{ "id": "oss-sonatype-snapshot", "name": "oss-sonatype-snapshot", "url": "https://repo.mamdev.server.lan/artifactory/oss-sonatype-org-snapshot", "releases": { "enabled": "false" }, "snapshots": { "enabled": "true" } }]'
- name: Build with Maven
run: mvn -B clean package

0 comments on commit bffc556

Please sign in to comment.