Skip to content

Commit

Permalink
Merge pull request #54 from gematik/validate-examples-action
Browse files Browse the repository at this point in the history
Fix the Validate Examples GitHub Action
  • Loading branch information
Hendrejvr authored Aug 19, 2024
2 parents a0c1f05 + 88cc4a3 commit 361f43b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 361f43b

Please sign in to comment.