From 21bb05b561567bd1350ce91fac34df4827fe78c1 Mon Sep 17 00:00:00 2001 From: Andy Rozman Date: Sun, 10 Mar 2024 17:49:15 +0100 Subject: [PATCH] Update maven-publish.yml some paths adjusted --- .github/workflows/maven-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 2b36a39..a8187ce 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -23,7 +23,7 @@ jobs: java-version: '8.0.402+6' distribution: 'temurin' server-id: jitpack.io # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file + settings-path: ${{ github.workspace }}/java # location for the settings.xml file - name: Build with Maven working-directory: ./java @@ -31,6 +31,6 @@ jobs: - name: Publish to GitHub Packages Apache Maven working-directory: ./java - run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + run: mvn deploy -s $GITHUB_WORKSPACE/java/settings.xml env: GITHUB_TOKEN: ${{ github.token }}