Summary
Upload local directory files into a file container folder, and create an artifact.
- Namespace
- Cake
.Common .Build .GitHubActions .Commands - Containing Type
- Git
Hub Actions Commands
Syntax
public Task UploadArtifact(DirectoryPath path, string artifactName)
Parameters
| Name | Type | Description |
|---|---|---|
| path | DirectoryPath | Path to the local directory. |
| artifactName | string | The artifact name. |
Return Value
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
