Skip to content
play

GitHub Action

xcodegen

1.2.0 Latest version

xcodegen

play

xcodegen

Runs the `xcodegen generate` command

Installation

Copy and paste the following snippet into your .yml file.

              

- name: xcodegen

uses: xavierLowmiller/xcodegen-action@1.2.0

Learn more about this action in xavierLowmiller/xcodegen-action

Choose a version

xcodegen GitHub Action

A GitHub Action Wrapper for the delightful xcodegen CLI tool.

Inputs

These correspond to the xcodegen generate options

  • cache-path: Where the cache file will be loaded from and save to. Defaults to ~/.xcodegen/cache/{SPEC_PATH_HASH}
  • no-env: Disable environment variable expansions
  • only-plists: Generate only plist files
  • project: The path to the directory where the project should be generated. Defaults to the directory the spec is in. The filename is defined in the project spec
  • project-root: The path to the project root directory. Defaults to the directory containing the project spec.
  • quiet: Suppress all informational and success output
  • spec: The path to the project spec file. Defaults to project.yml
  • use-cache: Use a cache for the xcodegen spec. This will prevent unnecessarily generating the project if nothing has changed

Additionally, the version of xcodegen can be specified:

Example usage

uses: xavierLowmiller/xcodegen-action@1.1.3
with:
  spec: project.yaml
  quiet: true
  version: '2.15.1'