Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.48 KB

README.md

File metadata and controls

63 lines (48 loc) · 1.48 KB

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.