Fix Maven CI workflow dispatch (#12971)

This commit is contained in:
Pere Miquel Brull 2023-08-23 10:06:21 +02:00 committed by GitHub
parent 6988334b45
commit cc0653adb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ jobs:
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'push' | github.event_name == 'workflow_dispatch' }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: mvn -Dsonar.login=${{ secrets.SONAR_TOKEN }} clean test
- name: Clean Up