diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7136be14..ecc65297 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,8 +36,8 @@ jobs: - name: Identify and Copy Changed .json and .xml Files run: | mkdir -p $PATH_TO_EXAMPLES # Create a temp folder - git fetch origin main:main - git diff --name-only main | grep -E '\.(json|xml)$' | xargs -I {} cp {} $PATH_TO_EXAMPLES/ + # git fetch origin main:main + git diff --name-only origin/main | grep -E '\.(json|xml)$' | xargs -I {} cp {} $PATH_TO_EXAMPLES/ echo "Number of changed files to validate: " && ls -1 $PATH_TO_EXAMPLES | wc -l # Install Java runtime (only needed if you want to run the offical HL7 Java validator)