GitHubActionsCommands.

UploadArtifact(FilePath, string) Method

Summary

Upload local file into a file container folder, and create an artifact.

Syntax

public Task UploadArtifact(FilePath path, string artifactName)

Parameters

Name Type Description
path FilePath Path to the local file.
artifactName string The artifact name.

Return Value

Type Description
Task A Task representing the asynchronous operation.