/action-terminus-install

Installs Terminus for use in GitHub Actions

MIT LicenseMIT

Terminus Install Action

Test MIT License

Installs Terminus for use in GitHub Actions.

Inputs

os

The operating system to install Terminus on. Default "ubuntu-latest". Currently accepts "ubuntu-latest" and "macos-latest".

Usage

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: shivammathur/setup-php@v2
      with:
        php-version: 8.3
    - uses: jazzsequence/action-terminus-install@v1
      with:
        os: ubuntu-latest
    - run: terminus --version

Notes

  • Adding a step to install PHP is not required except when using macos-latest as the operating system. Since Terminus is a PHP application, it requires PHP to be installed on the system. The shivammathur/setup-php action is used in the example above to install PHP. If you are using a different action to install PHP, you can skip this step.