Summary
Uploads an AppVeyor artifact.
- Namespace
- Cake
.Common .Build .AppVeyor - Containing Type
- IAppVeyorProvider
Syntax
void UploadArtifact(FilePath path)
Examples
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
{
BuildSystem.AppVeyor.UploadArtifact("./build/release_x86.zip");
}
if (AppVeyor.IsRunningOnAppVeyor)
{
AppVeyor.UploadArtifact("./build/release_x86.zip");
}
Parameters
| Name | Type | Description |
|---|---|---|
| path | FilePath | The file path of the artifact to upload. |
Return Value
| Type | Description |
|---|---|
| void |
