https://github.com/aviate-labs/setup-dfx
Set up your GitHub Actions workflow with a specific version of the Internet Computer SDK
https://github.com/aviate-labs/setup-dfx
ci dfinity dfx github-actions ic internet-computer vessel
Last synced: 5 months ago
JSON representation
Set up your GitHub Actions workflow with a specific version of the Internet Computer SDK
- Host: GitHub
- URL: https://github.com/aviate-labs/setup-dfx
- Owner: aviate-labs
- License: apache-2.0
- Created: 2021-06-05T13:01:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T17:19:54.000Z (12 months ago)
- Last Synced: 2024-11-12T06:34:10.759Z (5 months ago)
- Topics: ci, dfinity, dfx, github-actions, ic, internet-computer, vessel
- Language: TypeScript
- Homepage:
- Size: 30.3 KB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-icp - aviate-labs/setup-dfx
README
# 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
```yml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/[email protected]
with:
vessel-version: 0.7.0
- run: for i in src/*.mo ; do $(vessel bin)/moc $(vessel sources) --check $i ; done
```### Deploying
```yml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: aviate-labs/[email protected]
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](./LICENSE).