Skip to content

Commit f89b476

Browse files
committed
Sign on merge too
1 parent de116bd commit f89b476

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/merge.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,16 @@ jobs:
3131
server-id: ossrh
3232
server-username: ${{ secrets.OSSRH_USERNAME }}
3333
server-password: ${{ secrets.OSSRH_PASSWORD }}
34+
35+
- name: Configure GPG Key
36+
run: |
37+
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
38+
env:
39+
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
40+
3441
- name: Build with Maven
3542
run: mvn --batch-mode --update-snapshots verify
43+
3644
- name: Upload coverage to Codecov
3745
uses: codecov/codecov-action@v2
3846
with:
@@ -46,4 +54,4 @@ jobs:
4654
run: mvn --batch-mode deploy
4755
env:
4856
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
49-
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
57+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)