Skip to content

Commit

Permalink
Simplify actions/setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Oct 27, 2023
1 parent e56bdf5 commit 49cec1c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/update-stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,14 @@ jobs:

# We could have rolled out our own shell script to read the GPG private key.
# Though we use `actions/setup-java` everywhere for that purpose, and it simply works.
# Plus, it has several security enhancements; cleanup steps for removing the private key file and the imported keychain, etc.
- name: Set up GPG
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # 3.7.0
with:
distribution: temurin
java-version: 17
java-package: jdk
architecture: x64
cache: maven
server-id: apache.releases.https
server-username: NEXUS_USERNAME
server-password: NEXUS_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}

- name: Set up Git
Expand Down

0 comments on commit 49cec1c

Please sign in to comment.