Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Sep 5, 2024
1 parent 10e4c74 commit 763b8e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
fail-fast: false
env:
DFX_VERSION: 0.20.0
IC_REPL_VERSION: 0.7.4
MOC_VERSION: 0.12.0
DFX_VERSION: 0.22.0
IC_REPL_VERSION: 0.7.5
MOPS_VERSION: 0.2.0
steps:
- name: Setup Rust
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -48,8 +48,9 @@ jobs:
npm i -g ic-mops
dfx cache install
cd $(dfx cache show)
wget https://github.com/dfinity/motoko/releases/download/$MOC_VERSION/motoko-Linux-x86_64-$MOC_VERSION.tar.gz
tar zxvf motoko-Linux-x86_64-$MOC_VERSION.tar.gz
wget https://github.com/chenyan2002/mops-cli/releases/download/$MOPS_VERSION/mops-cli-linux64
cp ./mops-cli-linux64 /usr/local/bin/mops-cli
chmod a+x /usr/local/bin/mops-cli
- name: Start dfx
run: |
dfx start --background
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- 18
- 20
env:
DFX_VERSION: 0.20.0
DFX_VERSION: 0.22.0
SKIP_WASM: true
MOC_VERSION: 0.12.0
MOPS_VERSION: 0.2.0
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
Expand All @@ -41,8 +41,9 @@ jobs:
npm i -g ic-mops
dfx cache install
cd $(dfx cache show)
wget https://github.com/dfinity/motoko/releases/download/$MOC_VERSION/motoko-Linux-x86_64-$MOC_VERSION.tar.gz
tar zxvf motoko-Linux-x86_64-$MOC_VERSION.tar.gz
wget https://github.com/chenyan2002/mops-cli/releases/download/$MOPS_VERSION/mops-cli-linux64
cp ./mops-cli-linux64 /usr/local/bin/mops-cli
chmod a+x /usr/local/bin/mops-cli
- name: Start dfx
run: |
dfx start --background
Expand Down

0 comments on commit 763b8e4

Please sign in to comment.