Skip to content

ARR4N/setup-solc

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

Repository files navigation

setup-solc

A GitHub action for installing the Solidity compiler, solc.

Usage

jobs:
  example_setup_solc_usage:
    name: print-solc-version
    runs-on: ubuntu-latest
    steps:
        - uses: arr4n/[email protected]
          with:
            version: 0.8.30 # installed as solc
            versions: '0.8.25,0.8.28' # installed as solc-v0.8.25 and solc-v0.8.28

        - run: |
          solc --version;
          solc-v0.8.25 --version;
          solc-v0.8.28 --version;

The specified version(s) MUST be specific semver (without a "v" prefix). Caret (^), tilde (~) and keyword (e.g. "latest") versions are deliberately unsupported because blockchain development requires precision.

About

A GitHub action for installing the Solidity compiler, solc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published