Skip to content

Latest commit

History

History
83 lines (59 loc) 路 3.55 KB

README.md

File metadata and controls

83 lines (59 loc) 路 3.55 KB

Logo

Install Geth action

Release version Build Status License

This action installs geth and tools (abigen, bootnode, clef, evm, rlpdump) into your workflow. It can be run on Linux (ubuntu-latest), macOS (macos-latest), or Windows (windows-latest).

Additionally, this action uses GitHub caching mechanism to speed up your workflow execution time!

Usage

jobs:
  install-geth-tools:
    runs-on: ubuntu-20.04
    steps:
      - uses: gacts/install-geth-tools@v1
        #with:
        #  version: 1.10.19 # `latest` by default, but you can set a specific version to install, e.g.: `1.10.19`

      - run: geth version
      - run: abigen --version
      - run: bootnode -h
      - run: clef --version
      - run: evm --version
      - run: rlpdump -h

Customizing

Inputs

Following inputs can be used as step.with keys:

Name Type Default Required Description
version string latest no Version to install
github-token string ${{ github.token }} no GitHub token (for requesting the latest version info & release hash)

Releasing

New versions releasing scenario:

  • Make required changes in the changelog file
  • Build the action distribution (make build or yarn build)
  • Commit and push changes (including dist directory changes - this is important) into the master branch
  • Publish new release using repo releases page (git tag should follow vX.Y.Z format)

Major and minor git tags (v1 and v1.2 if you publish v1.2.Z release) will be updated automatically.

Support

Issues Issues

If you find any action errors, please, make an issue in the current repository.

License

This is open-sourced software licensed under the MIT License.