diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 934927fa1..bf9cb6160 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -136,7 +136,7 @@ jobs: run: | if [ ! -z ${{ matrix.image }} ]; then ./bin/wally-tool-chain-install.sh --clean ${{ matrix.riscv_path }} - else if [ -z ${{ matrix.user }} ]; then + elif [ -z ${{ matrix.user }} ]; then sudo ./bin/wally-tool-chain-install.sh --clean ${{ matrix.riscv_path }} else sudo ./bin/wally-package-install.sh