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.2.2
Pre-release
This action sets up a dfx environment, also includes moc
.
! Only supports Ubuntu virtual environments.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: aviate-labs/[email protected]
with:
dfx-version: 0.7.2
install-moc: true
vessel-version: 0.6.1
- run: |
dfx --version
moc --version
vessel --version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: aviate-labs/[email protected]
with:
dfx-version: 0.7.2
install-moc: false
env:
DFX_IDENTITY_PEM: ${{ secrets.DFX_IDENTITY_PEM }}
- run: |
dfx identity use action
dfx deploy --network ic --no-wallet
- Make use of the manifest.json to check versions.
- The path is currently always
/home/runner/...
, is there a better way to do this? - Include
base
modules in themoc
command. (i.e.moc --package base $(dfx cache show)/base
)
The scripts and documentation in this project are released under the MIT License.