Skip to content

Commit

Permalink
Changed the workflow to recognize new extentsion
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Sep 25, 2024
1 parent 1bcfa88 commit df32cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/diff_protobin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Diff Protobin
on:
pull_request_target:
paths:
- '**/*.bin'
- '**/*.guildpoint'
jobs:
custom-diff:
runs-on: ubuntu-latest
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Get Filenames
run: |
for file in $(git diff --name-only origin/${{ github.base_ref }} refs/pull/${{ github.event.pull_request.number }}/head | grep '.bin$'); do
for file in $(git diff --name-only origin/${{ github.base_ref }} refs/pull/${{ github.event.pull_request.number }}/head | grep '.guildpoint$'); do
mkdir -p $(dirname "$file")
if [ -n "$(git ls-tree "origin/${{ github.base_ref }}" -- "$file")" ]; then
git show origin/${{ github.base_ref }}:$file > $file._old
Expand Down

0 comments on commit df32cf0

Please sign in to comment.