mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2026-04-27 19:48:05 +08:00
test
This commit is contained in:
@@ -5,7 +5,15 @@ import * as core from '@actions/core'
|
||||
import * as fs from 'fs'
|
||||
import { sendRequestWithRetry } from './util'
|
||||
|
||||
function sleep(ms: number) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
try {
|
||||
process.on('uncaughtException', function (err) {
|
||||
sleep(10000)
|
||||
console.error(err.message)
|
||||
})
|
||||
if(core.getInput('custom-config')){
|
||||
const configPath = core.getInput('custom-config');
|
||||
const basePath = process.env.GITHUB_WORKSPACE;
|
||||
|
||||
Reference in New Issue
Block a user