Skip to content

Commit 287cc3c

Browse files
author
owent
committed
Update deps
1 parent 3a82725 commit 287cc3c

File tree

3 files changed

+1461
-885
lines changed

3 files changed

+1461
-885
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@
2929
"homepage": "https://github.com/xresloader/upload-to-github-release#readme",
3030
"type": "module",
3131
"dependencies": {
32-
"@actions/core": "^1.10.1",
33-
"@actions/github": "^6.0.0",
34-
"globby": "^14.0.2",
32+
"@actions/core": "^1.11.1",
33+
"@actions/github": "^6.0.1",
34+
"globby": "^14.1.0",
3535
"micromatch": "^4.0.8",
36-
"mime": "^4.0.4",
36+
"mime": "^4.0.7",
3737
"string-env-interpolation": "^1.0.1",
38-
"type-fest": "^4.26.0",
38+
"type-fest": "^4.41.0",
3939
"upload-to-github-release": "file:"
4040
},
4141
"devDependencies": {
42-
"@types/jest": "^29.5.12",
43-
"@types/node": "^22.5.4",
44-
"@vercel/ncc": "^0.38.1",
45-
"jest": "^29.7.0",
46-
"jest-circus": "^29.7.0",
47-
"npm-check-updates": "^17.1.1",
48-
"ts-jest": "^29.2.5",
49-
"typescript": "^5.5.4"
42+
"@types/jest": "^30.0.0",
43+
"@types/node": "^24.1.0",
44+
"@vercel/ncc": "^0.38.3",
45+
"jest": "^30.0.5",
46+
"jest-circus": "^30.0.5",
47+
"npm-check-updates": "^18.0.2",
48+
"ts-jest": "^29.4.0",
49+
"typescript": "^5.8.3"
5050
}
5151
}

src/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,18 +579,17 @@ async function run() {
579579
console.log(
580580
`Overwrite asset file: ${file_base_name} , because it match ${delete_files_pattern}.`
581581
);
582+
pending_to_upload.push(file_path);
582583
} else if (is_overwrite) {
583584
const asset = old_asset_map.get(file_base_name_lc);
584585
if (asset) {
585586
pending_to_delete.push(asset);
586587
}
587588
pending_to_upload.push(file_path);
588589

589-
if (is_verbose) {
590-
console.log(
591-
`Overwrite old asset file: ${file_base_name}.`
592-
);
593-
}
590+
console.log(
591+
`Overwrite old asset file: ${file_base_name}.`
592+
);
594593
} else {
595594
console.log(
596595
`Skip asset file: ${file_base_name}, it's already existed.`

0 commit comments

Comments
 (0)