Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppVeyor on_success script shouldn't run in both Windows and Linux jobs #13

Open
jonorossi opened this issue Dec 17, 2018 · 0 comments
Open

Comments

@jonorossi
Copy link
Member

The on_success script is used to publish the NuGet package to nuget.org, we only need it to run on Windows, it also fails on Linux anyway:

...
Running "on_success" scripts
if ($env:APPVEYOR_REPO_TAG -eq "true") {
  nuget push ".\build\NVelocity.${env:APPVEYOR_BUILD_VERSION}.nupkg" -ApiKey $env:NUGET_API_KEY -Source https://api.nuget.org/v3/index.json
}
File does not exist (.\build\NVelocity.1.2.0.nupkg).
Command exited with code 1
Build failed
@jonorossi jonorossi mentioned this issue Dec 17, 2018
@jonorossi jonorossi changed the title AppVeyor on_success script shouldn't run both Windows and Linux jobs AppVeyor on_success script shouldn't run in both Windows and Linux jobs Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant