From c0d8be2bc2b400511b0bce85edd2787bbd7de408 Mon Sep 17 00:00:00 2001 From: rikkarth Date: Fri, 8 Dec 2023 18:47:37 +0000 Subject: [PATCH 1/2] maven.yml Update --- .github/workflows/maven.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2354e98..5466c01 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -86,15 +86,18 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v6 + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.GPG_PASSPHRASE }} + git_user_signingkey: true + git_commit_gpgsign: true - name: Set up Java for publishing to GitHub Packages uses: actions/setup-java@v3 with: java-version: '8' distribution: 'corretto' - - name: Publish to GitHub Packages - with: - gpg_private_key: ${{ secrets.gpg_private_key }} - gpg_passphrase: ${{ secrets.gpg_passphrase }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: mvn --batch-mode deploy -Pgithub From 7e207c1d76dc806921b204e84bef52ea399dcd75 Mon Sep 17 00:00:00 2001 From: rikkarth Date: Fri, 8 Dec 2023 18:50:28 +0000 Subject: [PATCH 2/2] maven.yml Update --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5466c01..c3e84dc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -100,5 +100,6 @@ jobs: distribution: 'corretto' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Run GitHub Deploy run: mvn --batch-mode deploy -Pgithub