Skip to content

Commit

Permalink
Deploy the top-level pom too
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Aug 15, 2024
1 parent bd3f2ea commit 7e91bc5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,11 @@ jobs:
with:
maven-version: 3.9.8

- name: 'Install Java Avro Toplevel'
working-directory: ./
run: mvn -B install -PskipQuality -DskipTests

- name: 'Deploy Maven snapshots'
env:
ASF_USERNAME: ${{ secrets.NEXUS_USER }}
ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
run: |
echo "<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>" > settings.xml
pushd ../.. && mvn --settings settings.xml -B -ntp --non-recursive deploy && popd
mvn --settings settings.xml -U -B -e -fae -ntp -PskipQuality deploy

0 comments on commit 7e91bc5

Please sign in to comment.