Skip to content

Setup Variant

Actions
Setup a Variant environment and add it to the PATH, additionally providing proxy support
v1.0.1
Latest
Star (1)

setup-variant

GitHub Actions status

This action sets up a variant environment for use in actions by:

  • optionally downloading and caching a version of Variant by version and adding to PATH
  • registering problem matchers for error output

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: variantdev/setup-variant@v1
  with:
    variant-version: '0.35.1' # The Variant version to download (if necessary) and use.
- run: variant version

Matrix Testing:

jobs:
  build:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        variant: [ '0.35.0', '0.35.x' ]
    name: Variant ${{ matrix.variant }} sample
    steps:
      - uses: actions/checkout@master
      - name: Setup variant
        uses: variantdev/setup-variant@v1
        with:
          variant-version: ${{ matrix.variant }}
      - run: variant version

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

Setup Variant is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup a Variant environment and add it to the PATH, additionally providing proxy support
v1.0.1
Latest

Setup Variant is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.