Exclude docs module on camel-master branch builds
@@ -61,7 +61,7 @@ jobs:
- name: Setup apache-snapshots profile
if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
run: |
- echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+ echo "BRANCH_OPTIONS=-Papache-snapshots -pl '!docs'" >> $GITHUB_ENV
- name: Setup oss-snapshots profile
if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
run: |
@@ -222,6 +222,7 @@ jobs:
-Dformatter.skip -Dimpsort.skip -Denforcer.skip -Dcamel-quarkus.update-extension-doc-page.skip \
test
- name: cd docs && mvn verify
+ if: github.ref != 'refs/heads/camel-master' || github.base_ref != 'camel-master'
run: |
cd docs
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
