Skip to content

Commit 5049b01

Browse files
committed
fix: Settings.xml
1 parent 56fba5c commit 5049b01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/maven-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
security-events: write
2424
statuses: write
2525
steps:
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-java@v4
28+
with:
29+
java-version: '21'
30+
distribution: 'temurin'
2631
- name: Create private-file.key
2732
run: echo "${{ secrets.GPGPASSPHRASE }}" > private-file.key
2833
- name: Import private-key
@@ -33,11 +38,6 @@ jobs:
3338
${{ secrets.SETTINGSXML }}
3439
EOF
3540
ls
36-
- uses: actions/checkout@v4
37-
- uses: actions/setup-java@v4
38-
with:
39-
java-version: '21'
40-
distribution: 'temurin'
4141
- name: Publish package
4242
run: mvn --batch-mode deploy -s settings.xml
4343
env:

0 commit comments

Comments
 (0)