From bffc556a278ba61634fe197593550b6537c760e5 Mon Sep 17 00:00:00 2001 From: Michael Hartmeier Date: Sun, 26 Nov 2023 22:54:04 +0100 Subject: [PATCH] sonatype snapshots --- .github/workflows/maven.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fbd85a15..6a0831f1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,6 +7,8 @@ on: branches: [ "main" ] jobs: + setings: + build: runs-on: ubuntu-latest @@ -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