The Github Action to download and run the Premake build configuration tool.
This action downloads a specific version of Premake, and executes it with the specified action and additional options.
This simple example runs premake expecting a default premake5.lua
file in the root directory:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Run premake '5.0.0-beta1'
uses: eariassoto/setup-premake@v1
with:
version: '5.0.0-beta1'
action: 'gmake'
options: '--cc=clang'
The input for this action correspond to premake5
usage:
premake5 [options] action [arguments]
Inputs are only validated by the premake5
call. You are responsible for providing the right values.
Optional The Premake version to download. Default to latest release: 5.0.0-beta1
.
Required Premake action to execute.
Optional Additional Premake options. Default ""
.
Optional Additional Premake arguments. Default ""
.