From c9a532a180b06d01630f04160ca5e8adf65e8953 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sat, 13 Feb 2016 18:50:00 +0000 Subject: [PATCH] don't decrypt sign key for PRs --- appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ae5bb97bfc..2a883cc798 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,9 +8,10 @@ environment: OPENRCT2.ORG_TOKEN: secure: leQX3xCQpmBLGuMqrxjFlzexDt96ypNRMM5TTRVHbGE8PwVg9crgeykLc2BIZU6HDHveJCHqh2cGMdHtHYJYcw== install: -- nuget install secure-file -ExcludeVersion -- secure-file\tools\secure-file -decrypt distribution\windows\code-sign-key-openrct2.org.pfx.enc -secret %ENCKEY% -- cinst nsis.portable -pre > nul +- cmd: >- + IF DEFINED ENCKEY ( nuget install secure-file -ExcludeVersion && secure-file\tools\secure-file -decrypt distribution\windows\code-sign-key-openrct2.org.pfx.enc -secret %ENCKEY% ) + + cinst nsis.portable -pre > nul - ps: >- curl "http://nsis.sourceforge.net/mediawiki/images/5/53/KillProcDll%26FindProcDll.zip" -OutFile nsisxtra.zip