Buildalon Unity Action

A Github Action to execute Unity Editor command line arguments.

How to use

Workflow

jobs:
  build:
    env:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
          - os: ubuntu-latest
            build-target: StandaloneLinux64
          - os: windows-latest
            build-target: StandaloneWindows64
          - os: macos-latest
            build-target: StandaloneOSX
    steps:
      - uses: buildalon/unity-action@v3
        name: ${{ matrix.build-target }}-Build
        with:
          editor-path: path/to/your/unity/editor/installation
          project-path: path/to/your/unity/project
          log-name: ${{ matrix.build-target }}-Build
          build-target: ${{ matrix.build-target }}
          args: -quit -nographics -batchmode

Inputs

InputDescriptionRequiredDefault
editor-pathThe path to the unity editor installation you want to use to execute the arguments with.If UNITY_EDITOR_PATH environment variable is not set.env.UNITY_EDITOR_PATH
project-pathThe path to the unity project you want to use when executing arguments.If UNITY_PROJECT_PATH environment variable is not set, or if it isn’t required for the command.env.UNITY_PROJECT_PATH
build-targetThe build target to use when executing arguments.false
argsThe arguments to use when executing commands to the editor. (Note: use -force-graphics to override auto-added -nographics argument)true-quit -batchmode -nographics
log-nameThe name of the log file to create when running the commands.falseUnity-yyyyMMddTHHmmss

© 2026 Virtual Maker Corporation