diff --git a/src/download-artifact.ts b/src/download-artifact.ts index cbbf099..5cc6b17 100644 --- a/src/download-artifact.ts +++ b/src/download-artifact.ts @@ -102,7 +102,7 @@ export async function run(): Promise { // Parse the artifact IDs artifactIds = artifactIdList.map(id => { - const numericId = parseInt(id) + const numericId = parseInt(id, 10) if (isNaN(numericId)) { throw new Error(`Invalid artifact ID: '${id}'. Must be a number.`) }