mirror of https://github.com/apache/druid.git
Upload openrewrite patch via GHA (#16270)
This patch adds a step to the openrewrite action, such that it uploads the correcting patch, in case it fails.
This commit is contained in:
parent
f65c166327
commit
cce2d0f127
|
@ -163,9 +163,17 @@ jobs:
|
|||
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}
|
||||
|
||||
- name: rewrite:dryRun
|
||||
id: rewrite-dryRun
|
||||
run: |
|
||||
${MVN} rewrite:dryRun ${MAVEN_SKIP}
|
||||
|
||||
- name: Upload open rewrite patch
|
||||
if: ${{ failure() && steps.rewrite-dryRun.conclusion == 'failure' }}
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: Rewrite patch
|
||||
path: ./target/rewrite/rewrite.patch
|
||||
|
||||
web-checks:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
Loading…
Reference in New Issue