Skip to content

Commit

Permalink
appveyor: fix typoed appveyor command
Browse files Browse the repository at this point in the history
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 <giles@thaumas.net>
  • Loading branch information
wiiaboo authored and rillian committed May 25, 2017
1 parent 92422f6 commit 6cdd84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }

0 comments on commit 6cdd84a

Please sign in to comment.