map-diff: fix get map
This commit is contained in:
parent
92ff6c52b2
commit
c90f5d5bda
1 changed files with 2 additions and 2 deletions
4
.github/workflows/map-diff.yml
vendored
4
.github/workflows/map-diff.yml
vendored
|
@ -30,8 +30,8 @@ jobs:
|
|||
cd ./utils/wesnoth-map-diff
|
||||
|
||||
## Get maps changed
|
||||
git fetch --depth=1 origin ${{ github.event.pull_request.base.sha }}
|
||||
mapfile -t map_paths < <(git diff --name-only HEAD ${{ github.event.pull_request.base.sha }} | grep '\.map$')
|
||||
git fetch --depth=1 origin ${{ github.event.pull_request.head.sha }}
|
||||
mapfile -t map_paths < <(git diff --name-only HEAD ${{ github.event.pull_request.head.sha }} | grep '\.map$')
|
||||
|
||||
for map_path in "${map_paths[@]}"
|
||||
do
|
||||
|
|
Loading…
Add table
Reference in a new issue