We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 580d5c5 + fda5e6c commit 2899641Copy full SHA for 2899641
src/index.js
@@ -35,7 +35,9 @@ const fg = require('fast-glob');
35
36
if (files.length && !/\/$/.test(dst)) {
37
// 单文件
38
- const res = await oss.put(dst, resolve(files[0]))
+ const res = await oss.put(dst, resolve(files[0]), {
39
+ timeout: 1000*60*20
40
+ })
41
core.setOutput('url', res.url)
42
} else if (files.length && /\/$/.test(dst)) {
43
// 目录
0 commit comments