From 103d38e087e4104601af1915efdcd58af5629ced Mon Sep 17 00:00:00 2001 From: Gang Li Date: Mon, 4 Mar 2024 15:32:37 +0800 Subject: [PATCH] Add back sonatype snapshot settings We still need that sonatype snapshot profile to get snapshot deps. --- .github/workflows/merge-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index b0f83af..e76b595 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -41,6 +41,11 @@ jobs: architecture: x64 java-version: 11 + - name: maven-settings-xml-action + uses: whelk-io/maven-settings-xml-action@v14 + with: + repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]' + - name: "Maven Verify" if: ${{ github.event.repository.fork == true }} run: mvn -B -e verify