| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 946e387 commit c8dddc0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,6 +28,15 @@ jobs: | |||
| 28 | 28 | jdk: | |
| 29 | 29 | - '8' | |
| 30 | 30 | - '11' | |
| 31 | + push: | ||
| 32 | + - github.event_name == 'push' && (github.ref == 'refs/heads/master' && github.ref == 'refs/heads/development') | ||
| 33 | + pull_request: | ||
| 34 | + - github.event_name == 'pull_request' | ||
| 35 | + exclude: | ||
| 36 | + - jdk: '8' | ||
| 37 | + pull_request: true | ||
| 38 | + - jdk: '11' | ||
| 39 | + push: false | ||
| 31 | 40 | env: | |
| 32 | 41 | ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }} | |
| 33 | 42 | ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }} | |
@@ -50,10 +59,10 @@ jobs: | |||
| 50 | 59 | - name: Setup Maven | |
| 51 | 60 | run: cp .ci.settings.xml ${HOME}/.m2/settings.xml | |
| 52 | 61 | ||
| 53 | - - name: Test | ||
| 54 | - if: matrix.jdk == '8' && github.event_name == 'pull_request' | ||
| 55 | - run: | | ||
| 56 | - mvn --batch-mode clean install | ||
| 62 | + # - name: Test | ||
| 63 | + # if: matrix.jdk == '8' && github.event_name == 'pull_request' | ||
| 64 | + # run: | | ||
| 65 | + # mvn --batch-mode clean install | ||
| 57 | 66 | ||
| 58 | 67 | - name: SonarQube Scan (Push) | |
| 59 | 68 | if: matrix.jdk == '11' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development') | |
@@ -68,6 +77,6 @@ jobs: | |||
| 68 | 77 | -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }} \ | |
| 69 | 78 | -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }} | |
| 70 | 79 | ||
| 71 | - - name: Deploy | ||
| 80 | + - name: Test and deploy | ||
| 72 | 81 | if: matrix.jdk == '8' && github.event_name == 'push' | |
| 73 | 82 | run: mvn --batch-mode deploy -P test | |
| Back | FazBrowse Home | New Git URL |
0 commit comments