Skip to content

Commit

Permalink
fix(ci): Use correct github variable syntax
Browse files Browse the repository at this point in the history
Signed-off-by: txtsd <[email protected]>
  • Loading branch information
txtsd committed Oct 23, 2023
1 parent 0c3b0df commit 98c68bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
if [ ${{ github.event_name }} == 'push' ]
then
CHANGED_DIRS=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }} | grep PKGBUILD | cut -d / -f 1)
elif [ ${github.event_name} == 'pull_request' ]
elif [ ${{ github.event_name }} == 'pull_request' ]
then
CHANGED_DIRS=$(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | cut -d / -f 1)
elif [ ${github.event_name} == 'workflow_dispatch' ]
elif [ ${{ github.event_name }} == 'workflow_dispatch' ]
then
CHANGED_DIRS=$(git diff --name-only HEAD..HEAD~1 | cut -d / -f 1)
fi
Expand Down

0 comments on commit 98c68bf

Please sign in to comment.