Skip to content

api_function_findgithubactionstoolcache

hugoalh edited this page Dec 27, 2023 · 11 revisions

Find-GitHubActionsToolCache

πŸ”˜ NodeJS Wrapper

This dependents and requires NodeJS to invoke.

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

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

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

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) 2.0.0; Default to all of the versions.

  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • (< v2.0.0) V
    • (< v2.0.0) 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