Skip to content

chemicallang/install

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Setup Chemical Action

This GitHub Action installs the Chemical compiler and adds it to the system PATH. It is designed to be fast, cross-platform, and dependencies-free (only requires curl and git, which are standard on GitHub Runners).

Features

  • Fast Installation: Direct binary download and extraction.
  • Auto-Versioning: Automatically fetches and installs the latest stable release by default.
  • Cross-Platform: Support for ubuntu-latest and windows-latest.
  • Environment Integration: Automatically sets CHEMICAL_HOME and updates GITHUB_PATH.

Usage

Add this step to your workflow:

jobs:
  build:
    runs-on: ubuntu-latest # or windows-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Setup Chemical
        uses: chemicallang/install@v1.1 # or @main
        with:
          version: 'latest' # Optional: Specify a tag like 'v0.0.30'
          
      - name: Verify Installation
        run: chemical --version

Inputs

Name Description Default
version The version of Chemical to install. Set to latest to automatically fetch the most recent release. latest
variant The variant of Chemical to install (e.g., tcc). (empty)

Environment Variables

This action sets the following environment variables for subsequent steps:

  • CHEMICAL_HOME: The path to the directory where Chemical is installed.
  • PATH: Updated to include the chemical binary.

Created by the Chemical Language Foundation.

About

Github action for downloading chemcial

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors