Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.16 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.16 KB

setup

Setup a Viash release (https://github.com/viash-io/viash/releases) using GitHub Actions.

Usage

This action will use wget get.viash.io to install Viash in the $HOME/.local/bin directory and add that folder to the PATH.

We recommend using a Linux or MacOS runner if possible.

Inputs available

  • version - optional. If provided, the specific Viash version will be installed. Ex: version: 0.6.0.

      steps:
        - uses: viash-io/viash-actions/setup@v1
          with:
            version: 0.6.0

    If not provided, setup will use the latest released version of Viash.

    If the latest development build is desired, use version: develop.

Examples

name: demo of setup

on: 
  branch: main

jobs:
  viash-linux:
    runs-on: ubuntu-latest
    steps:
      - uses: viash-io/viash-actions/setup@v1
      - run: |
          viash --version
  viash-windows:
    runs-on: windows-latest
    steps:
      - uses: viash-io/viash-actions/setup@v1
      - run: |
          viash --version
  viash-macos:
    runs-on: macos-latest
    steps:
      - uses: viash-io/viash-actions/setup@v1
      - run: |
          viash --version