diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index bebbbdb..55f5562 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -27,14 +27,9 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml - - - name: Configure GPG Key - run: | - echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import - env: - GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} - name: Publish to GitHub Packages Apache Maven - run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + run: mvn deploy env: + GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }} GITHUB_TOKEN: ${{ github.token }}