Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Next thing to look at is the AppVeyor.yml file. This is the configuration file that tells AppVeyor how to build and release the package.
deploy: - provider: GitHub auth_token: secure: <replace with your encrypted GitHub token> artifact: prerelease: false on: branch: master IsGithubRelease: true - provider: NuGet api_key: secure: <Replace with your encrypted Nuget.org API token> artifact: on: branch: master IsGithubRelease: true
There are two values that are marked for replacement: the GitHub
auth_token and the NuGet
auth_token allows for the NuGet package (or other build artifacts) to be pushed back to the GitHub release. This way you can keep all of your releases along with the code. This section can be safely removed if you don't want that. The
api_key is what allows AppVeyor to publish the package to NuGet.
An important note: do not paste in the actual tokens here. Remember, this file will be checked into source control. You need to encrypt the value in AppVeyor's website and paste the encrypted value here.