Skip to content
download

GitHub Action

setup-veryl

v1.0.1 Latest version

setup-veryl

download

setup-veryl

Setup veryl on GitHub Actions runners

Installation

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

              

- name: setup-veryl

uses: veryl-lang/[email protected]

Learn more about this action in veryl-lang/setup-veryl

Choose a version

setup-veryl

Actions Status

This action downloads a prebuilt Veryl binary and adds it to the PATH.

Usage

By default, this action downloads the latest version of Veryl.

name: Check
on: [push, pull_request]
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: veryl-lang/setup-veryl@v1
    - run: veryl check

Version specification through version can be used.

    - uses: veryl-lang/setup-veryl@v1
      with:
        version: 0.7.2

Publish documents through GitHub Pages

name: Deploy
on: [push]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: veryl-lang/setup-veryl@v1
    - run: veryl doc
    - uses: peaceiris/actions-gh-pages@v3
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        publish_dir: doc

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.