File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 2222 - name : Check for changes related to s3
2323 id : check-changes
2424 run : |
25- BASE_REF=${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
26- BASE_REF=${BASE_REF#refs/heads/}
27- git fetch origin "$BASE_REF" --depth 1
28- CHANGED_FILES=$(git diff origin/"$BASE_REF" --name-only)
29- if echo "$CHANGED_FILES" | grep -q -E '^core/|^services/s3/|^services-custom/s3-transfer-manager/|^http-client-spi/|^http-clients/'; then
30- echo "Detected changes in S3, HTTP client, or core modules"
31- echo "has_s3_related_changes=true" >> $GITHUB_OUTPUT
32- else
33- echo "No changes detected in S3, HTTP client, or core modules"
34- echo "has_s3_related_changes=false" >> $GITHUB_OUTPUT
35- fi
25+ echo "Detected changes in S3, HTTP client, or core modules"
26+ echo "has_s3_related_changes=true" >> $GITHUB_OUTPUT
3627
3728 s3-regression-tests-download :
3829 needs : check-s3-related-changes
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ phases:
1212 exit 0
1313 fi
1414 mvn clean install -P s3-regression-tests -pl :s3-tests -am -T1C -Dregression.test="$REGRESSION_TEST" $MAVEN_OPTIONS
15- echo $MAVEN_OPTIONS
1615 finally :
1716 - mkdir -p codebuild-test-reports
1817 - find ./ -name 'TEST-*.xml' -type f -exec cp {} codebuild-test-reports/ \;
You can’t perform that action at this time.
0 commit comments