diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 5f5d24a3..c1255349 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -23,6 +23,8 @@ jobs: java-version: '21' distribution: 'temurin' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + server-username: ${{ github.actor }} # Automatically uses the GitHub actor (username) + server-password: ${{ secrets.TOKEN }} settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Build with Maven