From 1cfa11d3163ae570fda12f247f572a3fb5943456 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 25 Apr 2021 20:52:06 +0200 Subject: [PATCH] Correct Copy-Item not being recurse when expected --- .github/workflows/ci.yml | 4 ++-- appveyor.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51ed0167f..3d99c9263 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -206,7 +206,7 @@ jobs: # If we're including any overlay for this variant, copy it to output directory if (Test-Path "ArchiSteamFarm\overlay\$variant" -PathType Container) { - Copy-Item "ArchiSteamFarm\overlay\$variant\*" "out\$variant" + Copy-Item "ArchiSteamFarm\overlay\$variant\*" "out\$variant" -Recurse } # If we're including SteamTokenDumper plugin for this framework, copy it to output directory @@ -215,7 +215,7 @@ jobs: New-Item -ItemType Directory -Path "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" > $null } - Copy-Item "out\$env:STEAM_TOKEN_DUMPER_NAME\$targetFramework\*" "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" + Copy-Item "out\$env:STEAM_TOKEN_DUMPER_NAME\$targetFramework\*" "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" -Recurse } # Icon is available only in .NET Framework and .NET Core Windows build, we'll bundle the .ico file for other flavours diff --git a/appveyor.yml b/appveyor.yml index e4c03c043..e37f10df3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -245,7 +245,7 @@ after_test: # If we're including any overlay for this variant, copy it to output directory if (Test-Path "ArchiSteamFarm\overlay\$variant" -PathType Container) { - Copy-Item "ArchiSteamFarm\overlay\$variant\*" "out\$variant" + Copy-Item "ArchiSteamFarm\overlay\$variant\*" "out\$variant" -Recurse } # If we're including SteamTokenDumper plugin for this framework, copy it to output directory @@ -254,7 +254,7 @@ after_test: New-Item -ItemType Directory -Path "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" > $null } - Copy-Item "out\$env:STEAM_TOKEN_DUMPER_NAME\$targetFramework\*" "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" + Copy-Item "out\$env:STEAM_TOKEN_DUMPER_NAME\$targetFramework\*" "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" -Recurse } # Icon is available only in .NET Framework and .NET Core Windows build, we'll bundle the .ico file for other flavours