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 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
The scripts and documentation in this project are released under the MIT License
Contributions are welcome! See Contributor's Guide