Skip to content
monitor

GitHub Action

Install MMock (cross-platform)

v1.1.1 Latest version

Install MMock (cross-platform)

monitor

Install MMock (cross-platform)

Installs MMock binary file into your actions workflow

Installation

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

              

- name: Install MMock (cross-platform)

uses: gacts/[email protected]

Learn more about this action in gacts/install-mmock

Choose a version

Logo

Install MMock action

Release version Build Status License

MMock is a testing and fast prototyping tool for developers - easy and fast HTTP mock server.

This action installs MMock as a binary file into your workflow. It can be run on Linux (ubuntu-latest), macOS (macos-latest), or Windows (windows-latest).

Additionally, this action uses GitHub caching mechanism to speed up your workflow execution time!

Usage

jobs:
  install-mmock:
    runs-on: ubuntu-latest
    steps:
      - uses: gacts/install-mmock@v1 # Action page: <https://github.com/gacts/install-mmock>
        #with:
        #  version: 3.0.0 # `latest` by default, but you can set a specific version to install, e.g.: `1.6.0`

      - run: mmock -h # any mmock command can be executed

Customizing

Inputs

Following inputs can be used as step.with keys:

Name Type Default Required Description
version string latest no MMock version to install
github-token string ${{ github.token }} no GitHub token (for requesting the latest MMock version info)

Outputs

Name Type Description
mmock-bin string Path to the MMock binary file

Releasing

New versions releasing scenario:

  • Make required changes in the changelog file
  • Build the action distribution (make build or yarn build)
  • Commit and push changes (including dist directory changes - this is important) into the master branch
  • Publish new release using repo releases page (git tag should follow vX.Y.Z format)

Major and minor git tags (v1 and v1.2 if you publish v1.2.Z release) will be updated automatically.

Support

Issues Issues

If you find any action errors, please, make an issue in the current repository.

License

This is open-sourced software licensed under the MIT License.