Setup Variant
ActionsSetup a Variant environment and add it to the PATH, additionally providing proxy support
v1.0.1
LatestBy variantdev
Tags
(2)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
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 versionMatrix 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 versionThe scripts and documentation in this project are released under the MIT License
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.