Modfied github workflow, fix antrl4 not found (#6839)

This commit is contained in:
Ayush Shah 2022-08-22 15:56:43 +05:30 committed by GitHub
parent 4e176fbc66
commit f8e8d2f7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,9 @@ jobs:
librdkafka-dev unixodbc-dev libevent-dev
- name: Setup Test Containers Properties
run: echo 'testcontainers.reuse.enable=true' >> $HOME/.testcontainers.properties
run: |
sudo make install_antlr_cli
echo 'testcontainers.reuse.enable=true' >> $HOME/.testcontainers.properties
- name: Build PR with Maven
env:
@ -69,7 +71,6 @@ jobs:
if: ${{ github.event_name == 'pull_request_target' }}
run: |
git fetch --no-tags https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main
sudo make install_antlr_cli
mvn -Dsonar.login=${{ secrets.SONAR_TOKEN }} \
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \
-Dsonar.pullrequest.branch=${{ github.head_ref }} \