Skip to content

Commit 3c673a9

Browse files
authored
Replace deprecated setup-java server-username/server-password inputs (#83)
1 parent c5b3e1a commit 3c673a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2424
- name: Set up JDK
25-
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
25+
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
2626
with:
2727
distribution: 'temurin'
2828
java-version: ${{ matrix.java_version }}
2929
cache: 'maven'
3030
server-id: central-snapshots
31-
server-username: CI_DEPLOY_USERNAME
32-
server-password: CI_DEPLOY_PASSWORD
31+
server-username-env-var: CI_DEPLOY_USERNAME
32+
server-password-env-var: CI_DEPLOY_PASSWORD
3333
# See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
3434
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
3535
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

0 commit comments

Comments
 (0)