Skip to content

Commit

Permalink
enhanced the ifs in the steps
Browse files Browse the repository at this point in the history
also build the stuff from push-events
  • Loading branch information
ronnypolley committed Oct 13, 2023
1 parent 10be700 commit a88bb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- name: Run Integration Tests
run: mvn -B -Prun-its verify -ntp --file pom.xml
- name: Publish Test Report
if: contains(github.event.pull_request.labels.*.name, 'save to build')
if: contains(github.event.pull_request.labels.*.name, 'save to build') || github.event_name == 'push'
uses: scacap/action-surefire-report@v1
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Analyze with SonarCloud.io
if: contains(github.event.pull_request.labels.*.name, 'save to build')
if: contains(github.event.pull_request.labels.*.name, 'save to build') || github.event_name == 'push'
env:
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}
run: mvn -ntp -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }}

0 comments on commit a88bb99

Please sign in to comment.