Skip to content

Commit

Permalink
build: convert to absolute file paths for C examples command
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Mar 7, 2024
1 parent d66f5d6 commit 02847cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_affected_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
# Run C examples:
- name: 'Run C examples'
run: |
files=$(echo "${{ steps.changed-files.outputs.files }}" | tr ' ' '\n' | grep -E '\.c$' | tr '\n' ' ' | sed 's/ $//')
files=$(echo "${{ steps.changed-files.outputs.files }}" | tr ' ' '\n' | grep -E '\.c$' | sed "s|^|${GITHUB_WORKSPACE}/|" | tr '\n' ' ' | sed 's/ $//')
if [ -n "$files" ]; then
make examples-c-files FILES="${files}"
fi
Expand Down

0 comments on commit 02847cb

Please sign in to comment.