mirror of
https://code.forgejo.org/actions/download-artifact
synced 2025-06-08 04:58:20 +02:00
This commit is contained in:
parent
ac35f995fe
commit
42aef06f22
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export async function run(): Promise<void> {
|
|||
|
||||
// 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.`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue