Disable deploy to sonatype step (#468)

Disable deploy to nexus until completed conversion to Java due to missing javadoc jars with scala modules
This commit is contained in:
Paul Campbell 2020-06-21 10:30:57 +01:00 committed by GitHub
parent 76c17297f0
commit 63db53fb6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,27 +17,28 @@ jobs:
java-version: 8
- name: Build with Maven
run: mvn -B install
- name: Nexus Repo Publish
run: |
gpg --quiet \
--batch \
--yes \
--decrypt \
--passphrase="${{ secrets.GPG_PASSPHRASE }}" \
--output codesigning.asc \
.github/codesigning.asc.gpg
gpg --batch \
--fast-import codesigning.asc
mvn --settings .github/settings.xml \
-Dskip-Tests=true \
-P release \
-B \
deploy
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
# Disable deploy to nexus until completed conversion to Java due to missing javadoc jars with scala modules
# - name: Nexus Repo Publish
# run: |
# gpg --quiet \
# --batch \
# --yes \
# --decrypt \
# --passphrase="${{ secrets.GPG_PASSPHRASE }}" \
# --output codesigning.asc \
# .github/codesigning.asc.gpg
# gpg --batch \
# --fast-import codesigning.asc
# mvn --settings .github/settings.xml \
# -Dskip-Tests=true \
# -P release \
# -B \
# deploy
# env:
# NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
# NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
# GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"