Skip to content

api_function_invokegithubactionstoolcachetooldownloader

hugoalh edited this page Jul 23, 2023 · 8 revisions

Invoke-GitHubActionsToolCacheToolDownloader

πŸ”˜ NodeJS Wrapper: This dependents and requires NodeJS to invoke.

  • Type: Function
  • In Version: >= v0.5.0

Description

Invoke-ToolCacheToolDownloader
  [-Uri] <Uri>
  [-Destination <String>]
  [-Authorization <String>]
  [-Header <Hashtable>]

Download a tool from URI and stream it into a file.

Parameter

Authorization

[Optional] <String> Authorization of the URI request.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Auth

Destination

[Optional] <String> Path for the tool destination.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Target

Header

[Optional] <Hashtable> Headers of the URI request.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Headers

Uri

<Uri> URI of the tool.

  • Position: 0
  • Accept Pipeline Input: True βœ”
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Source
    • Url

Output

<String> Absolute path of the downloaded tool.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally