From 6cdd84a3c877e5d0f68ee0d047fadfa737c0efd9 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Thu, 25 May 2017 14:09:30 +0100 Subject: appveyor: fix typoed appveyor command And run the build request only at the last configuration. Also add a check if api_key is unset to not try to request a new build. Signed-off-by: Ralph Giles --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8baffcc6..a0f4a776 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -34,4 +34,4 @@ artifacts: - path: opus.zip on_success: -- appveyor Start-AppveyorBuild -ApiKey %API_KEY% -ProjectSlug opus-tools +- ps: if ($env:api_key -and "$env:configuration/$env:platform" -eq "ReleaseDLL_fixed/x64") { Start-AppveyorBuild -ApiKey $env:api_key -ProjectSlug 'opus-tools' } -- cgit v1.2.1