diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 5e83cca7..ffe067cc 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -1,7 +1,7 @@ # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path -name: Maven Package +name: Publish package to GitHub Packages on: push: @@ -32,6 +32,6 @@ jobs: run: mvn -B package --file pom.xml - name: Publish to GitHub Packages Apache Maven - run: mvn deploy #-s $GITHUB_WORKSPACE/settings.xml + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml env: GITHUB_TOKEN: ${{ github.token }}