Skip to content

Commit 3db9373

Browse files
authored
ci: Fix up Replay Checker (#1417)
1 parent dec4d7d commit 3db9373

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/check-replays.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/cache@v4
4747
with:
4848
path: ${{ env.GAME_PATH }}
49-
key: gamedata-permanent-cache-v3
49+
key: gamedata-permanent-cache-v4
5050

5151
- name: Download Game Data from Cloudflare R2
5252
if: ${{ steps.cache-gamedata.outputs.cache-hit != 'true' }}
@@ -95,7 +95,8 @@ jobs:
9595
}
9696
9797
Write-Host "Extracting Archive" -ForegroundColor Cyan
98-
& 7z x generals108_gamedata_trimmed.7z -o$env:GENERALS_PATH
98+
$extractPath = $env:GENERALS_PATH
99+
& 7z x generals108_gamedata_trimmed.7z -o"$extractPath"
99100
Remove-Item generals108_gamedata_trimmed.7z -Verbose
100101
101102
# Download GeneralsMD (ZH) Game Files
@@ -122,7 +123,8 @@ jobs:
122123
}
123124
124125
Write-Host "Extracting Archive" -ForegroundColor Cyan
125-
& 7z x zerohour104_gamedata_trimmed.7z -o$env:GENERALSMD_PATH
126+
$extractPath = $env:GENERALSMD_PATH
127+
& 7z x zerohour104_gamedata_trimmed.7z -o"$extractPath"
126128
Remove-Item zerohour104_gamedata_trimmed.7z -Verbose
127129
128130
- name: Set Up Game Data

0 commit comments

Comments
 (0)