You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/07/07 07:09:43 UTC
[camel-quarkus] 01/01: chore: Add git diff when there are uncommitted changes
This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch add-git-diff
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit a36215c57212035b6a6829bf185792a0282b3215
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Fri Jul 7 09:09:12 2023 +0200
chore: Add git diff when there are uncommitted changes
---
.github/workflows/camel-master-cron.yaml | 4 ++--
.github/workflows/ci-build.yaml | 4 ++--
.github/workflows/quarkus-master-cron.yaml | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml
index f39d7d3b10..0b730490e8 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -72,7 +72,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Tar Maven Repo
shell: bash
run: |
@@ -174,7 +174,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Report Build Failure
if: failure() || cancelled()
run: |
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 26c6bfb493..07c7f85706 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -160,7 +160,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Tar Maven Repo
shell: bash
run: |
@@ -256,7 +256,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
functional-extension-tests:
runs-on: ubuntu-latest
diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml
index ed16c129cf..784507d477 100644
--- a/.github/workflows/quarkus-master-cron.yaml
+++ b/.github/workflows/quarkus-master-cron.yaml
@@ -78,7 +78,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain | grep -v antora.yml) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Tar Maven Repo
shell: bash
run: |
@@ -180,7 +180,7 @@ jobs:
- name: Fail if there are uncommitted changes
shell: bash
run: |
- [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+ [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; git diff; exit 1; }
- name: Report Build Failure
if: failure() || cancelled()
run: |