From 0ec833c2d8146caad846348e5d613e3364562e3c Mon Sep 17 00:00:00 2001 From: Vaan1310 <61906290+Intybyte@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:33:52 +0100 Subject: [PATCH] Fix distribution --- .github/workflows/maven-publish.yml | 2 ++ 1 file changed, 2 insertions(+) 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