Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Xcodebuild Action

v3.1

Xcodebuild Action

check-square

Xcodebuild Action

Runs xcodebuild e.g. to run tests

Installation

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

              

- name: Xcodebuild Action

uses: sersoft-gmbh/xcodebuild-action@v3.1

Learn more about this action in sersoft-gmbh/xcodebuild-action

Choose a version

Xcodebuild Action

Tests

This action runs xcodebuild with the given options.

Note that this action needs to run on macOS. All other platforms will fail!

Inputs

See action.yml for an overview of all inputs.

Outputs

unprocessed-command

The unprocessed command from which the executed command was resolved. E.g. paths are not resolved in this one.

executed-command

The command that was executed by this action. This will also be printed to the action output.

Example Usage

Use the following snippet when you want to run tests configured with the MyApp scheme inside a MyApp Xcode project:

uses: sersoft-gmbh/xcodebuild-action@v3
with:
  project: MyApp.xcodeproj
  scheme: MyApp
  destination: platform=macOS
  action: test