From f1429ec3410ba620e8e2ee08256f409b8cda498d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 21 Jun 2020 16:44:02 +0100 Subject: [PATCH] Remove deploy to sonatype completly (#469) Only deploys as a release on Github. --- .github/workflows/release-deploy.yml | 26 +++++++++++++++ .github/workflows/sonatype-deploy.yml | 48 --------------------------- 2 files changed, 26 insertions(+), 48 deletions(-) create mode 100644 .github/workflows/release-deploy.yml delete mode 100644 .github/workflows/sonatype-deploy.yml diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml new file mode 100644 index 0000000..854af8e --- /dev/null +++ b/.github/workflows/release-deploy.yml @@ -0,0 +1,26 @@ +name: release-deploy + +on: + push: + tags: + - "v*" + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: kamiazya/setup-graphviz@v1 + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v1 + with: + java-version: 8 + - name: Build with Maven + run: mvn -B install + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: false + files: | + app/target/thorp-*.jar diff --git a/.github/workflows/sonatype-deploy.yml b/.github/workflows/sonatype-deploy.yml deleted file mode 100644 index 6c0ac47..0000000 --- a/.github/workflows/sonatype-deploy.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: sonatype-deploy - -on: - push: - tags: - - "v*" - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: kamiazya/setup-graphviz@v1 - - uses: actions/checkout@v2 - - name: Set up JDK 8 - uses: actions/setup-java@v1 - with: - java-version: 8 - - name: Build with Maven - run: mvn -B install -# 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 }}" - automatic_release_tag: "latest" - prerelease: false - files: | - app/target/thorp-*.jar