Skip to content

Commit

Permalink
try for fix git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Feb 19, 2024
1 parent dbc78f9 commit 749e9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Identify and Copy Changed .json and .xml Files
run: |
mkdir -p temp_folder # Create a temp folder
git diff --name-only main | grep -E '\.(json|xml)$' | xargs -I {} cp {} temp_folder/
git diff --name-only origin/main origin/${GITHUB_HEAD_REF} | grep -E '\.(json|xml)$' | xargs -I {} cp {} temp_folder/
ls -l './temp_folder'
# Install .NET runtime
Expand Down

0 comments on commit 749e9cf

Please sign in to comment.