Remove deploy to sonatype completly (#469)
Only deploys as a release on Github.
This commit is contained in:
parent
63db53fb6f
commit
f1429ec341
2 changed files with 26 additions and 48 deletions
26
.github/workflows/release-deploy.yml
vendored
Normal file
26
.github/workflows/release-deploy.yml
vendored
Normal file
|
@ -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
|
48
.github/workflows/sonatype-deploy.yml
vendored
48
.github/workflows/sonatype-deploy.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue