diff --git a/.github/workflows/releaseToGithubPackages.yml b/.github/workflows/releaseToGithubPackages.yml index fa42270e0..d4d3d5f22 100644 --- a/.github/workflows/releaseToGithubPackages.yml +++ b/.github/workflows/releaseToGithubPackages.yml @@ -19,5 +19,6 @@ jobs: - name: Publish package run: ./mvnw -s "${{ github.workspace }}/scriptsAndTools/internalOrCiOnly/deploySettings.xml" deploy -Dgithub.user=$GITHUB_USER -Dgithub.token=$GITHUB_TOKEN env: - GITHUB_USER: ${{ secrets.MAVEN_REPO_USER }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_USER: ${{ secrets.MAVEN_REPO_USER }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/scriptsAndTools/internalOrCiOnly/deploySettings.xml b/scriptsAndTools/internalOrCiOnly/deploySettings.xml new file mode 100644 index 000000000..1e6213b2f --- /dev/null +++ b/scriptsAndTools/internalOrCiOnly/deploySettings.xml @@ -0,0 +1,37 @@ + + + + github + + + + + github + + + central + https://repo1.maven.org/maven2 + + + github + https://maven.pkg.github.com/OWNER/REPOSITORY + + true + + + + + + + + + github + ${github.user} + ${github.token} + + + +