Skip to content

Commit

Permalink
github: fix the sysinfo check workflow
Browse files Browse the repository at this point in the history
The path provided by the tj-actions/changed-files is without the
original path, so we need to prefix it with the directory we gave to
that action.
  • Loading branch information
whot committed Jan 5, 2024
1 parent d144fa9 commit 68cf983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-for-sysinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
run: |
for file in ${{ steps.added-files.outputs.added_files }}; do
if [[ "$file" == *.tablet ]]; then
grep -q "sysinfo" $file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1)
grep -q "sysinfo" data/$file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1)
fi
done

0 comments on commit 68cf983

Please sign in to comment.