From 4e159ac41b94c964116acc702c3b4bf949bee0e2 Mon Sep 17 00:00:00 2001 From: Pierrick Date: Wed, 14 Sep 2022 19:37:15 +0200 Subject: [PATCH] Removes setting and useless line in github publish script --- .github/workflows/maven-publish.yml | 3 +-- settings.xml | 19 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 settings.xml diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 95bda52..20ec733 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -22,8 +22,7 @@ jobs: with: java-version: '17' distribution: 'temurin' - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/settings.xml b/settings.xml deleted file mode 100644 index 8633145..0000000 --- a/settings.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - github - - - - Authorization - Bearer - - - - - -