Skip to content

Commit fed0d74

Browse files
committed
Remove duplicated code
1 parent 5d8230b commit fed0d74

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -140,21 +140,6 @@ jobs:
140140
git config --global user.name "GitHub Actions"
141141
git pull
142142
143-
- name: Set up JDK
144-
uses: actions/setup-java@v4
145-
with: # running setup-java overwrites the settings.xml
146-
distribution: 'temurin'
147-
java-version: '17'
148-
gpg-passphrase: MAVEN_GPG_PASSPHRASE
149-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
150-
151-
- name: Publish to Central Portal
152-
run: ../mvnw -B deploy -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
153-
env:
154-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
155-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
156-
working-directory: ${{ env.PRIMARY_MAVEN_MODULE }}
157-
158143
- name: Set up JDK
159144
uses: actions/setup-java@v4
160145
with: # running setup-java overwrites the settings.xml

0 commit comments

Comments
 (0)