From dfe1255c831c0599883a7a702164132f8d879691 Mon Sep 17 00:00:00 2001 From: Mark Do Date: Wed, 7 Feb 2024 20:38:20 +0000 Subject: [PATCH] test ci --- .github/templates/docker_context/docker_context.sh | 2 ++ src/action/test.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/templates/docker_context/docker_context.sh b/.github/templates/docker_context/docker_context.sh index aef164e0..295eb3bb 100755 --- a/.github/templates/docker_context/docker_context.sh +++ b/.github/templates/docker_context/docker_context.sh @@ -7,6 +7,7 @@ set -e # Find docker compose files in 'modules' directory modules=$(find modules -maxdepth 1 -name "docker-compose*") +modules_modified=false # Initialize an empty array for JSON objects json_objects=() @@ -21,6 +22,7 @@ while read -r module; do # Only work with modules that are modified if [[ $1 = *$module_out* ]]; then echo "$module_out modified" + modules_modified=true else echo "$module_out not changed" continue diff --git a/src/action/test.txt b/src/action/test.txt index bf0d87ab..7813681f 100644 --- a/src/action/test.txt +++ b/src/action/test.txt @@ -1 +1 @@ -4 \ No newline at end of file +5 \ No newline at end of file