diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ccc8f6..de73bac 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: run: sed -i 's|BUILD-SNAPSHOT|${{ github.event.inputs.version }}|g' pom.xml - name: Publish package - run: mvn --batch-mode deploy + run: mvn -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml --batch-mode deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}