mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-02 01:33:16 +08:00
Simplify to just name instead of artifactName
This commit is contained in:
@@ -72,7 +72,7 @@ export async function listArtifacts(
|
||||
// Iterate over the first page
|
||||
listArtifactResponse.artifacts.forEach(artifact => {
|
||||
artifacts.push({
|
||||
artifactName: artifact.name,
|
||||
name: artifact.name,
|
||||
artifactId: artifact.id,
|
||||
url: artifact.url,
|
||||
size: artifact.size_in_bytes
|
||||
@@ -99,7 +99,7 @@ export async function listArtifacts(
|
||||
|
||||
listArtifactResponse.artifacts.forEach(artifact => {
|
||||
artifacts.push({
|
||||
artifactName: artifact.name,
|
||||
name: artifact.name,
|
||||
artifactId: artifact.id,
|
||||
url: artifact.url,
|
||||
size: artifact.size_in_bytes
|
||||
|
||||
@@ -109,7 +109,7 @@ export interface Artifact {
|
||||
/**
|
||||
* The name of the artifact
|
||||
*/
|
||||
artifactName: string
|
||||
name: string
|
||||
|
||||
/**
|
||||
* The ID of the artifact
|
||||
|
||||
Reference in New Issue
Block a user