Highwayfile V1 - netguru/highway GitHub Wiki

Structure

version: 1

variables:
    <preset>:
        <variable>:

bootstrap:
    <preset>:
        <step>:

test:
    <preset>:
        <step>:

deploy:
    <preset>:
        <step>:

report:
    <preset>:
        <step>:

Presets

Represent a specific workflow which you've probably used before in any tool like Bitrise or Github Actions. Default preset can be used as a fallback.

Variables

Here you can specify available variables for each preset. These variables can be referenced in step parameters and in other variables. Also supports interpolation and doesn't interfere with environment variables.

All variable names must be in upper case format - otherwise Highway will return an error Invalid variable name/value.

variables:
    default:
        XCODEBUILD_SCHEME: Development
        XCODEBUILD_PROJECT: ./Baby Monitor.xcworkspace
    staging:
        XCODEBUILD_SCHEME: Staging
    release:
        XCODEBUILD_SCHEME: Production

Stages

Stage represents a phase in the build. This version can support 4 different stages.

  • Bootstrap - used when you're installing dependencies.
  • Test - used when you're testing your application.
  • Deploy - used when you're preparing to deploy your application.
  • Report - used to report about result.

In each of them you can add step that you want to use.

⚠️ **GitHub.com Fallback** ⚠️