Skip to content

Commit 9aca072

Browse files
committed
Fix access by CI
1 parent 6bcb7a9 commit 9aca072

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
distribution: 'temurin'
4040
java-version: ${{ matrix.java_version }}
4141
cache: 'maven'
42+
- name: Set up Maven deployment credentials
43+
if: ${{ github.event_name != 'pull_request' }}
44+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
45+
with:
46+
distribution: 'temurin'
47+
java-version: ${{ matrix.java_version }}
4248
server-id: central-snapshots
4349
server-username: CI_DEPLOY_USERNAME
4450
server-password: CI_DEPLOY_PASSWORD

0 commit comments

Comments
 (0)