mirror of https://github.com/actions/toolkit
63 lines
1.2 KiB
Markdown
63 lines
1.2 KiB
Markdown
[@actions/artifact](../README.md) / Artifact
|
|
|
|
# Interface: Artifact
|
|
|
|
An Actions Artifact
|
|
|
|
## Table of contents
|
|
|
|
### Properties
|
|
|
|
- [createdAt](Artifact.md#createdat)
|
|
- [id](Artifact.md#id)
|
|
- [name](Artifact.md#name)
|
|
- [size](Artifact.md#size)
|
|
|
|
## Properties
|
|
|
|
### createdAt
|
|
|
|
• `Optional` **createdAt**: `Date`
|
|
|
|
The time when the artifact was created
|
|
|
|
#### Defined in
|
|
|
|
[src/internal/shared/interfaces.ts:123](https://github.com/actions/toolkit/blob/e3764a5/packages/artifact/src/internal/shared/interfaces.ts#L123)
|
|
|
|
___
|
|
|
|
### id
|
|
|
|
• **id**: `number`
|
|
|
|
The ID of the artifact
|
|
|
|
#### Defined in
|
|
|
|
[src/internal/shared/interfaces.ts:113](https://github.com/actions/toolkit/blob/e3764a5/packages/artifact/src/internal/shared/interfaces.ts#L113)
|
|
|
|
___
|
|
|
|
### name
|
|
|
|
• **name**: `string`
|
|
|
|
The name of the artifact
|
|
|
|
#### Defined in
|
|
|
|
[src/internal/shared/interfaces.ts:108](https://github.com/actions/toolkit/blob/e3764a5/packages/artifact/src/internal/shared/interfaces.ts#L108)
|
|
|
|
___
|
|
|
|
### size
|
|
|
|
• **size**: `number`
|
|
|
|
The size of the artifact in bytes
|
|
|
|
#### Defined in
|
|
|
|
[src/internal/shared/interfaces.ts:118](https://github.com/actions/toolkit/blob/e3764a5/packages/artifact/src/internal/shared/interfaces.ts#L118)
|