eariassoto / setup-premake

The Github Action to download and run the Premake build configuration tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-premake Action

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.

Usage:

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'

Inputs

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.

version

Optional The Premake version to download. Default to latest release: 5.0.0-beta1.

action

Required Premake action to execute.

options

Optional Additional Premake options. Default "".

args

Optional Additional Premake arguments. Default "".

About

The Github Action to download and run the Premake build configuration tool.

License:MIT License


Languages

Language:JavaScript 100.0%