Skip to content

api_function_findgithubactionstoolcache

hugoalh edited this page Jul 23, 2023 · 11 revisions

Find-GitHubActionsToolCache

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

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

Description

Find-GitHubActionsToolCache
  [-Name] <String>
  [-Version <SemVer>]
  [-Architecture <String>]

Find the path of a tool in the local installed tool cache.

Parameter

Architecture

[Optional] <String> Architecture of the tool; Default to the architecture of the current machine.

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

Name

<String> Name of the tool.

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

Version

[Optional] <SemVer> Version of the tool, by Semantic Versioning (SemVer); Default to all of the versions.

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

Output

  • <String> Absolute path of a version of a tool.
  • <String[]> Absolute path of all of the versions of a tool.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally