Mark artifacts properties as optional (#834)

## Changes
Mark artifacts properties as optional

Fixes #816
This commit is contained in:
Andrew Nester 2023-10-03 15:59:28 +02:00 committed by GitHub
parent 40ae23bb33
commit 9b6a847178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -37,12 +37,12 @@ type Artifact struct {
// The local path to the directory with a root of artifact, // The local path to the directory with a root of artifact,
// for example, where setup.py is for Python projects // for example, where setup.py is for Python projects
Path string `json:"path"` Path string `json:"path,omitempty"`
// The relative or absolute path to the built artifact files // The relative or absolute path to the built artifact files
// (Python wheel, Java jar and etc) itself // (Python wheel, Java jar and etc) itself
Files []ArtifactFile `json:"files"` Files []ArtifactFile `json:"files,omitempty"`
BuildCommand string `json:"build"` BuildCommand string `json:"build,omitempty"`
paths.Paths paths.Paths
} }