This action performs the installation of Premake on the host-runner. The artifact is downloaded to the runners temp directory and extracted to the tool-cache directory ready for use. For self-hosted runners, the script will attempt to find a cached version before attempting to download. The tool install location will be added to the PATH.
steps:
- name: Install Premake
uses: davemccann/Install-Premake@v1.0.0
with:
version: '5.0.0-beta4'
- name: Check Premake
run: premake5 --version
version
: Premake version to use, must be a version from the tagged release pagedefault: 5.0.0-beta4
RUNNER_TEMP
: The temporary download location for the newly downloaded artifact.RUNNER_TOOL_CACHE
: The final install directory for the extracted tool.
Expand-Archive : is not a supported archive file format. .zip is the only supported archive file format.
Windows platforms make use of PowerShell for extracting archives, this error can occur if the version of PowerShell is too low. If this occurs, try updating to the latest version.