diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 361c44a3..f103e121 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -33,8 +33,9 @@ jobs: distribution: 'liberica' java-version: 21 cache: 'maven' + server-id: github - name: Compile & Deploy to GitHub Packages - run: mvn -Drevision=${{ github.event.inputs.version }} -B deploy --file pom.xml + run: mvn -Drevision=${{ github.event.inputs.version }} -B deploy -DdeployAtEnd --file pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 936e260b..f077ceb8 100644 --- a/pom.xml +++ b/pom.xml @@ -53,9 +53,21 @@ + + github + GitHub Packages + https://maven.pkg.github.com/9tigerio/db2rest + + true + + central + Central Portal https://central.sonatype.com + + false +