Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushi421 committed Feb 3, 2025
1 parent 0abd8e3 commit 4447e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Check for .cpp or .hpp file changes
id: check_changes_cpp
run: |
if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -E '\.cpp$|\.hpp$'; then
if git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -E 'agnocastlib/.*\.(cpp|hpp)$'; then
echo ".cpp or .hpp files changed"
echo "cpp_changed=true" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit 4447e44

Please sign in to comment.