Skip to content

Commit b411250

Browse files
committed
rename job input gamedata to userdata
1 parent f927703 commit b411250

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check-replays.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
required: true
1212
type: string
1313
description: "Game to check (only GeneralsMD for now)"
14-
gamedata:
14+
userdata:
1515
required: true
1616
type: string
1717
description: "Path to folder with replays and maps"
@@ -160,13 +160,13 @@ jobs:
160160
run: |
161161
# These files are expected in the user dir, so we move them here.
162162
163-
$source = "${{ inputs.gamedata }}\Replays"
163+
$source = "${{ inputs.userdata }}\Replays"
164164
$destination = "$env:USERPROFILE\Documents\Command and Conquer Generals Zero Hour Data\Replays"
165165
Write-Host "Move replays to $destination"
166166
New-Item -ItemType Directory -Path $destination -Force | Out-Null
167167
Move-Item -Path "$source\*" -Destination $destination -Force
168168
169-
$source = "${{ inputs.gamedata }}\Maps"
169+
$source = "${{ inputs.userdata }}\Maps"
170170
$destination = "$env:USERPROFILE\Documents\Command and Conquer Generals Zero Hour Data\Maps"
171171
Write-Host "Move maps to $destination"
172172
New-Item -ItemType Directory -Path $destination -Force | Out-Null

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ jobs:
177177
uses: ./.github/workflows/check-replays.yml
178178
with:
179179
game: "GeneralsMD"
180-
gamedata: "GeneralsReplays/GeneralsZH/1.04"
180+
userdata: "GeneralsReplays/GeneralsZH/1.04"
181181
preset: ${{ matrix.preset }}
182182
secrets: inherit

0 commit comments

Comments
 (0)