Skip to content

Commit

Permalink
Merge pull request #362 from klingbolt/guildpoint_in_workflow
Browse files Browse the repository at this point in the history
Changed workflow to also work on the new guildpoint extention
  • Loading branch information
AsherGlick authored Oct 16, 2024
2 parents 972338f + 49847ae commit 014017f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/diff_protobin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request_target:
paths:
- '**/*.bin'
- '**/*.guildpoint'
jobs:
custom-diff:
runs-on: ubuntu-latest
Expand All @@ -23,7 +24,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 -E '.bin$|.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 014017f

Please sign in to comment.