This commit is contained in:
Amith Koujalgi 2023-10-27 13:32:26 +05:30
parent e042ff473a
commit 6cb8a7b632

View File

@ -33,10 +33,7 @@ jobs:
- name: Build with Maven - name: Build with Maven
run: mvn -U -B clean package --file pom.xml run: mvn -U -B clean package --file pom.xml
- name: Import GPG key
run: echo "$GPG_PRIVATE_KEY" > /home/runner/.gnupg/gpg-pvt.key && gpg --import /home/runner/.gnupg/gpg-pvt.key
- name: Publish to GitHub Packages Apache Maven - name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml run: echo "$GPG_PRIVATE_KEY" | gpg --import && mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}