mirror of
https://github.com/apache/druid.git
synced 2025-02-09 11:34:54 +00:00
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
8
.github/workflows/static-checks.yml
vendored
8
.github/workflows/static-checks.yml
vendored
@ -163,9 +163,17 @@ jobs:
|
|||||||
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}
|
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}
|
||||||
|
|
||||||
- name: rewrite:dryRun
|
- name: rewrite:dryRun
|
||||||
|
id: rewrite-dryRun
|
||||||
run: |
|
run: |
|
||||||
${MVN} rewrite:dryRun ${MAVEN_SKIP}
|
${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:
|
web-checks:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user