From 763b8e40f6a8fbac02af7eff932ea6be68322896 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:08:54 -0700 Subject: [PATCH] fix --- .github/workflows/backend.yml | 11 ++++++----- .github/workflows/frontend.yml | 9 +++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 5b0e1c9b..c6d59922 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -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 @@ -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 diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 15f63cd1..36718242 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -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 }} @@ -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