File tree Expand file tree Collapse file tree 2 files changed +30
-6
lines changed
Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 77 uses : ./.github/workflows/shared-build-and-deploy.yml
88 with :
99 ref : ${{ github.ref_name }}
10- server-id : ossrh
10+ server-id : central
1111 profile : maven-central
1212 tag : ' beta'
13+ module : ' v3'
1314 secrets :
1415 server-username : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }}
1516 server-password : ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }}
16- gpg-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
17- gpg-passphrase : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
18- skyflow-credentials : ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
19- test-expired-token : ${{ secrets.TEST_EXPIRED_TOKEN }} >> .env
20- test-reusable-token : ${{ secrets.TEST_REUSABLE_TOKEN }} >> .env
Original file line number Diff line number Diff line change 275275 </snapshotRepository >
276276 </distributionManagement >
277277 </profile >
278+ <profile >
279+ <id >maven-central</id >
280+ <distributionManagement >
281+ <repository >
282+ <id >central</id >
283+ <url >https://central.sonatype.com/api/v1/publisher/upload</url >
284+ </repository >
285+ <snapshotRepository >
286+ <id >central-snapshots</id >
287+ <url >https://central.sonatype.com/api/v1/publisher/upload</url >
288+ </snapshotRepository >
289+ </distributionManagement >
290+ <build >
291+ <plugins >
292+ <plugin >
293+ <groupId >org.sonatype.central</groupId >
294+ <artifactId >central-publishing-maven-plugin</artifactId >
295+ <version >0.4.0</version >
296+ <extensions >true</extensions >
297+ <configuration >
298+ <publishingServerId >central</publishingServerId >
299+ <tokenAuth >true</tokenAuth >
300+ <autoPublish >true</autoPublish >
301+ </configuration >
302+ </plugin >
303+ </plugins >
304+ </build >
305+ </profile >
278306 </profiles >
279307</project >
You can’t perform that action at this time.
0 commit comments