Sunday, 4 June 2017

Appveyor different pipes build vs pr

As AppVeyor does not pass secure env variables to PR builds. How can you split the the yml file to do different things. Such as on a PR build I only want to run test_scripts. On branch on master I want it to run the build_scripts as to make artifacts.

I tried

   branches
    only:
     - master

but I can't seem to run build_scripts specifically there.

Basically on a merge into master I do a yarn release that builds the exe. But right now a PR build it runs test_scripts and build_scripts

I'm building a Node project in appveyor specific to windows.



via chatters

No comments:

Post a Comment