diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml index 7bc67fc6b8..60b1917b5d 100644 --- a/.github/workflows/action_tools.yml +++ b/.github/workflows/action_tools.yml @@ -45,8 +45,9 @@ jobs: - name: Install Tools shell: bash run: | - sudo apt-get update - sudo apt-get -yqq install scons + wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh + chmod 777 install_ubuntu.sh + ./install_ubuntu.sh - name: Install Arm ToolChains if: ${{ success() }} diff --git a/.github/workflows/compile_bsp_with_drivers.yml b/.github/workflows/compile_bsp_with_drivers.yml index 53d6e4269f..43fcb59ab3 100644 --- a/.github/workflows/compile_bsp_with_drivers.yml +++ b/.github/workflows/compile_bsp_with_drivers.yml @@ -46,9 +46,9 @@ jobs: - name: Install Tools shell: bash run: | - sudo apt-get update - sudo apt-get -qq install gcc-multilib libncurses5 libncurses5-dev libncursesw5-dev scons - sudo python -m pip install --upgrade pip -qq + wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh + chmod 777 install_ubuntu.sh + ./install_ubuntu.sh git config --global http.postBuffer 524288000 git remote -v git fetch origin