1
0
Fork 0

Update packages/artifact/README.md

Co-authored-by: Bethany <bethanyj28@users.noreply.github.com>
pull/1594/head
Rob Herley 2023-12-06 09:31:09 -05:00 committed by GitHub
parent dc515188a8
commit 23fb8c4782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ const {default: artifact} = require('@actions/artifact')
### Upload and Download ### Upload and Download
This is the most basic scenario, uploading one or more files to an Artifact, then downloading it. Downloads are based on the Artifact ID, which can be obtained in the response of `uploadArtifact`, `getArtifact`, `listArtifacts` or via the [REST API](https://docs.github.com/en/rest/actions/artifacts). The most basic scenario is uploading one or more files to an Artifact, then downloading that Artifact. Downloads are based on the Artifact ID, which can be obtained in the response of `uploadArtifact`, `getArtifact`, `listArtifacts` or via the [REST API](https://docs.github.com/en/rest/actions/artifacts).
```js ```js
const {id, size} = await artifact.uploadArtifact( const {id, size} = await artifact.uploadArtifact(