Skip to content

Set up your GitHub Actions workflow with a specific version of the Internet Computer SDK

License

Notifications You must be signed in to change notification settings

aviate-labs/setup-dfx

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

Setup The Internet Computer SDK

This action sets up a dfx environment, also includes moc, vessel and pocket-ic.

! Only supports Ubuntu/macOS virtual environments.

Usage

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/setup-dfx@v0.3.2
  with:
    vessel-version: 0.7.0
- run: for i in src/*.mo ; do $(vessel bin)/moc $(vessel sources) --check $i ; done

Deploying

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/setup-dfx@v0.3.2
  with:
    dfx-version: 0.18.0
  env:
    DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }}
- run: |
    dfx identity use action
    dfx deploy --network ic --no-wallet

License

The scripts and documentation in this project are released under the MIT License.

About

Set up your GitHub Actions workflow with a specific version of the Internet Computer SDK

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •