Skip to content

Commit 7128235

Browse files
committed
Use Release SNK Or New SNK For PR Builds
1 parent f897551 commit 7128235

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ init:
1919
- choco install -y rabbitmq
2020

2121
install:
22-
- nuget install secure-file -ExcludeVersion
23-
- secure-file\tools\secure-file -decrypt %APPVEYOR_BUILD_FOLDER%\%KEYFILE%.enc -secret %SNKSECRET%
22+
- IF DEFINED SNKSECRET (nuget install secure-file -ExcludeVersion)
23+
- IF DEFINED SNKSECRET (secure-file\tools\secure-file -decrypt %APPVEYOR_BUILD_FOLDER%\%KEYFILE%.enc -secret %SNKSECRET%)
24+
- IF NOT DEFINED SNKSECRET (sn -k rabbitmq.snk)
2425
- ps: |
2526
$regPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ"
2627
if (Test-Path "HKLM:\SOFTWARE\Wow6432Node\") { $regPath = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ" }

0 commit comments

Comments
 (0)