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 f2b68f3b Will this work? f2b68f3b is described below commit f2b68f3bc7b4bac082ae78b258650c5ec9b6d8e4 Author: Sebb <s...@apache.org> AuthorDate: Mon Dec 18 16:17:20 2023 +0000 Will this work? --- .github/workflows/maven_crosstest.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/maven_crosstest.yml b/.github/workflows/maven_crosstest.yml index c400d0cb..b4e2e63e 100644 --- a/.github/workflows/maven_crosstest.yml +++ b/.github/workflows/maven_crosstest.yml @@ -142,6 +142,21 @@ 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 + + - name: Publish to Apache Maven Central + env: + ASF_USERNAME: ${{ secrets.NEXUS_USER }} + ASF_PASSWORD: ${{ secrets.NEXUS_PW }} + run: mvn package deploy -DskipTests # Test Jobs that don't use Docker standalone: