Skip to content

Commit 73bde0c

Browse files
committed
Print change detection return value for debugging
1 parent 7cc1961 commit 73bde0c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/code-reports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
./../../scripts/downloader/downloadAxonFramework.sh ${{ env.AXON_FRAMEWORK_VERSION }}
107107
108108
- name: Analyze AxonFramework
109-
working-directory: temp
109+
working-directory: temp/AxonFramework-${{ env.AXON_FRAMEWORK_VERSION }}
110110
# Shell type can be skipped if jupyter notebook reports (and therefore conda) aren't needed
111111
shell: bash -el {0}
112112
env:

scripts/resetAndScanChanged.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ SCRIPTS_DIR=${SCRIPTS_DIR:-$( CDPATH=. cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
1212
echo "resetAndScanChanged SCRIPTS_DIR=$SCRIPTS_DIR"
1313

1414
# Scan and analyze Artifacts when they were changed
15-
if [[ $( source $SCRIPTS_DIR/detectChangedArtifacts.sh ) == "0" ]] ; then
16-
echo "Artifacts unchanged. Scan skipped."
15+
changeDetectionReturnCode=$( source "$SCRIPTS_DIR/detectChangedArtifacts.sh" )
16+
if [[ "${changeDetectionReturnCode}" == "0" ]] ; then
17+
echo "resetAndScanChanged: Artifacts unchanged. Scan skipped."
1718
else
18-
echo "Resetting database and scanning artifacts"
19+
echo "resetAndScanChanged: Detected change (${changeDetectionReturnCode}). Resetting database and scanning artifacts."
1920
source "${SCRIPTS_DIR}/resetAndScan.sh"
2021
fi

0 commit comments

Comments
 (0)