Skip to content

Commit

Permalink
File sync from s4u/.github
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Action committed Jan 2, 2021
1 parent 02af2e8 commit fd4794c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
with:
sonatypeSnapshots: true

- run: mvn verify
- run: mvn --errors --show-version verify
env:
SIGN_KEY: ${{ secrets.SIGN_KEY }}


- run: mvn sonar:sonar -Dsonar.branch.name=${GITHUB_REF#refs/heads/} -Dsonar.login=${{ secrets.SONAR_TOKEN }}
- run: mvn --errors --show-version sonar:sonar -Dsonar.branch.name=${GITHUB_REF#refs/heads/} -Dsonar.login=${{ secrets.SONAR_TOKEN }}
if: >
matrix.os == 'ubuntu-latest'
&& matrix.java == '11'
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
with:
sonatypeSnapshots: true

- run: mvn --no-transfer-progress site
- run: mvn --errors --show-version site

deploy:
name: Build Deploy ubuntu-latest jdk8
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
sonatypeSnapshots: true
servers: '[{"id": "ossrh", "username": "${env.OSS_USER}", "password": "${env.OSS_PASS}"}]'

- run: mvn deploy -Dmaven.test.skip=true
- run: mvn --errors --show-version deploy -Dmaven.test.skip=true
env:
OSS_USER: ${{ secrets.OSS_USER }}
OSS_PASS: ${{ secrets.OSS_PASS }}
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Action"
- run: mvn --no-transfer-progress site-deploy
- run: mvn --errors --show-version site-deploy

publish-release:
name: Publish Release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
with:
sonatypeSnapshots: true

- run: mvn verify
- run: mvn --errors --show-version verify

- run: mvn sonar:sonar
- run: mvn --errors --show-version sonar:sonar
if: >
matrix.os == 'ubuntu-latest'
&& matrix.java == '11'
Expand Down Expand Up @@ -84,4 +84,4 @@ jobs:
with:
sonatypeSnapshots: true

- run: mvn --no-transfer-progress site
- run: mvn --errors --show-version site

0 comments on commit fd4794c

Please sign in to comment.