You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup DFX environment
v0.3.1
Pre-release
This action sets up a dfx
environment, also includes moc
and vessel
.
! Only supports Ubuntu/MacOS virtual environments.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/setup-dfx@v0.3.0
with:
vessel-version: 0.7.0
- run: for i in src/*.mo ; do $(vessel bin)/moc $(vessel sources) --check $i ; done
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/setup-dfx@v0.3.0
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
The scripts and documentation in this project are released under the MIT License.