Skip to content
play-circle

GitHub Action

huff-toolchain

v3 Latest version

huff-toolchain

play-circle

huff-toolchain

Install Huff

Installation

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

              

- name: huff-toolchain

uses: huff-language/huff-toolchain@v3

Learn more about this action in huff-language/huff-toolchain

Choose a version

Huff Toolchain

GitHub Action that installs huffc.

Example workflow

on: [push]

name: test

jobs:
  check:
    name: Huff project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: recursive

      - name: Install Huff
        uses: huff-language/huff-toolchain@v2
        with:
          version: nightly

      - name: Compile
        run: huffc . -b

Inputs

Name Required Description Type
version Yes Version to install, e.g. nightly or 1.0.0. Note: Huff only has nightly builds for the time being. string

Summaries

You can add the output of huffc to GitHub step summaries. The summaries support GitHub flavored Markdown.

See the offical GitHub docs for more information.

Contributing

All contributions are welcome.

Make sure to install ncc in order to generate the build:

npm i -g @vercel/ncc

Acknowledgements