This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push: new 70562a98 Try using the new secrets 70562a98 is described below commit 70562a9868cde87662e06f6b6596be3e07fbc26f Author: Sebb <sebb...@users.noreply.github.com> AuthorDate: Tue Dec 19 09:46:24 2023 +0000 Try using the new secrets --- .github/workflows/maven_crosstest.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/maven_crosstest.yml b/.github/workflows/maven_crosstest.yml index 1fd7918a..44b223a9 100644 --- a/.github/workflows/maven_crosstest.yml +++ b/.github/workflows/maven_crosstest.yml @@ -142,21 +142,22 @@ jobs: name: crypto-package path: target/*.jar retention-days: 7 - # # deploy to Maven central - # - name: Set up Apache Maven Central - # uses: actions/setup-java@v4 - # with: # running setup-java again overwrites the settings.xml - # distribution: 'temurin' - # java-version: '8' - # server-id: apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml - # server-username: ASF_USERNAME # env variable for username in deploy - # server-password: ASF_PASSWORD # env variable for token in deploy + # deploy to Maven central + - name: Set up Apache Maven Central + uses: actions/setup-java@v4 + with: # running setup-java again overwrites the settings.xml + distribution: 'temurin' + java-version: '8' + # these values cause the plugin to set up the Maven settings.xml file + server-id: apache.snapshots.https # Value of the distributionManagement/repository/id field of the pom.xml + server-username: NEXUS_USER # env variable for username in deploy + server-password: NEXUS_PW # env variable for token in deploy - # - name: Publish to Apache Maven Central - # env: - # ASF_USERNAME: ${{ secrets.NEXUS_USER }} - # ASF_PASSWORD: ${{ secrets.NEXUS_PW }} - # run: mvn package deploy -DskipTests + - name: Publish to Apache Maven Central + env: + NEXUS_USER: ${{ secrets.NEXUS_USER }} + NEXUS_PW: ${{ secrets.NEXUS_PW }} + run: mvn package deploy -DskipTests # Test Jobs that don't use Docker standalone: