Skip to content

Commit 84d3966

Browse files
chore: attempt to fix release
1 parent 74a4a10 commit 84d3966

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

.github/workflows/manual-release.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,19 @@ permissions:
1818
contents: write
1919

2020
jobs:
21-
get-version-and-publish:
21+
publish-to-maven-central:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout Repository
2525
uses: actions/checkout@v4
2626
with:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828

29-
- name: Set up JDK
30-
uses: actions/setup-java@v2
29+
- name: Setup JDK 11
30+
uses: actions/setup-java@v3
3131
with:
32-
distribution: 'adopt'
32+
distribution: 'temurin'
3333
java-version: '11'
34-
java-package: jdk
35-
server-id: central
36-
server-username: ${{ secrets.SONATYPE_USERNAME }}
37-
server-password: ${{ secrets.SONATYPE_PASSWORD }}
38-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
39-
gpg-passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
40-
settings-path: ${{ github.workspace }}
41-
42-
- name: Test
43-
run: |
44-
curl -u "$SONATYPE_USERNAME:$SONATYPE_PASSWORD" https://s01.oss.sonatype.org/service/local/staging/profiles
4534

4635
- name: Build and Test
4736
run: ./gradlew clean build

0 commit comments

Comments
 (0)