Skip to content

Commit

Permalink
Changed workflow to also work on the new guildpoint extention
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Sep 25, 2024
1 parent fc56dc5 commit 677cb56
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 677cb56

Please sign in to comment.