From 0b5eca6409e792208e6bf20b6294f5caf0356ba5 Mon Sep 17 00:00:00 2001 From: Eugen Kremer Date: Tue, 27 Nov 2018 18:06:49 +0100 Subject: [PATCH] Use platform input value --- appveyor.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 041dc35..cc104ef 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,20 +37,18 @@ after_build: Push-AppveyorArtifact "$env:PLATFORM\$env:CONFIGURATION\jN.dll" -FileName jN.dll } - if ($env:PLATFORM_INPUT -eq "Win32" ) { + if ($env:PLATFORM_INPUT -eq "x86" ) { Push-AppveyorArtifact "$env:CONFIGURATION\jN.dll" -FileName jN.dll } if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v140_xp") { - $ZipFileName = "" + $ZipFileName = "jN_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM_INPUT).zip" $JnDllPath = "" if($env:PLATFORM_INPUT -eq "x64"){ - $ZipFileName = "jN_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip" - $JnDllPath = "$env:PLATFORM\$env:CONFIGURATION\*.dll" + $JnDllPath = "$env:PLATFORM\$env:CONFIGURATION\*.dll" } - if($env:PLATFORM_INPUT -eq "Win32"){ - $ZipFileName = "jN_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip" + if($env:PLATFORM_INPUT -eq "x86"){ $JnDllPath = "$env:CONFIGURATION\*.dll" } if($ZipFileName -ne ""){