mirror of
https://github.com/actions/toolkit.git
synced 2026-08-23 00:00:19 +02:00
add get-artifact logic
This commit is contained in:
@@ -30,7 +30,7 @@ async function exists(path: string): Promise<boolean> {
|
||||
}
|
||||
}
|
||||
|
||||
async function streamExtract(url: string, directory: PathLike): Promise<void> {
|
||||
async function streamExtract(url: string, directory: string): Promise<void> {
|
||||
const client = new httpClient.HttpClient(getUserAgentString())
|
||||
const response = await client.get(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user