diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index f00d6566..14bceb28 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -27,11 +27,6 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - - name: Build with Maven - run: mvn -B package --file pom.xml -Pgithub - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publish to GitHub Packages Apache Maven run: mvn --batch-mode deploy -s $GITHUB_WORKSPACE/settings.xml env: