Skip to content

Commit

Permalink
Use platform input value
Browse files Browse the repository at this point in the history
  • Loading branch information
sieukrem authored Nov 27, 2018
1 parent 17ce818 commit 0b5eca6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""){
Expand Down

0 comments on commit 0b5eca6

Please sign in to comment.