Skip to content

Commit

Permalink
Update Github action setup-java to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
neiser committed May 24, 2021
1 parent ab46fc4 commit 28a5b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
server-id: ossrh
server-username: SONATYPE_USER
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
<configuration>
<!--
Prevent gpg from using pinentry programs.
See https://github.com/actions/setup-java#extra-setup-for-pomxml
See https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#extra-setup-for-pomxml
Fixes: gpg: signing failed: Inappropriate ioctl for device
-->
<gpgArguments>
Expand Down

0 comments on commit 28a5b9c

Please sign in to comment.