Skip to content

Commit

Permalink
skip deployment during verify
Browse files Browse the repository at this point in the history
  • Loading branch information
schulzp committed Apr 1, 2020
1 parent e40ea4c commit 4a7c13f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ jobs:

runs-on: ubuntu-latest

if: false

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,4 @@ jobs:
- name: Create Docker Config
run: mkdir -p ~/.docker && echo "{}" > ~/.docker/config.json
- name: Build with Maven
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
GPG_KEYNAME: ${{ secrets.GPG_PRIVATE_KEY_NAME }}
run: |
mkdir -p ~/.docker && echo "{}" > ~/.docker/config.json
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --no-tty --import
sed -i 's@<password>__BINTRAY_TOKEN__.*$@<password>${{ secrets.BINTRAY_TOKEN }}</password>@g' ${{ github.workspace }}/.mvn/settings.xml
mvn deploy --settings ${{ github.workspace }}/.mvn/settings.xml --batch-mode --no-transfer-progress -Pgpg,bintray -Dmaven.wagon.http.pool=false
run: mvn verify --settings ${{ github.workspace }}/.mvn/settings.xml --batch-mode --no-transfer-progress

0 comments on commit 4a7c13f

Please sign in to comment.