diff --git a/.github/actions/setup-apt/action.yml b/.github/actions/setup-apt/action.yml index a4348deba..4abe3c439 100644 --- a/.github/actions/setup-apt/action.yml +++ b/.github/actions/setup-apt/action.yml @@ -22,17 +22,9 @@ runs: - name: Install base packages shell: bash run: | - ${{ inputs.sudo }} apt-get install python3-venv python3-pip make -y + ${{ inputs.sudo }} apt-get install make gcc -y - name: Install additional packages if: ${{ inputs.packages != ''}} shell: bash run: | ${{ inputs.sudo }} apt-get install ${{ inputs.packages }} -y - - name: Setup Python venv - shell: bash - run: | - python3 -m venv venv - source venv/bin/activate - python3 -m pip install -r requirements.txt - deactivate - echo "$(pwd)/venv/bin/" >> "$GITHUB_PATH" diff --git a/.github/actions/setup-yum/action.yml b/.github/actions/setup-yum/action.yml index 16f9c3eda..ee0631fc9 100644 --- a/.github/actions/setup-yum/action.yml +++ b/.github/actions/setup-yum/action.yml @@ -18,17 +18,9 @@ runs: - name: Install base packages shell: bash run: | - ${{ inputs.sudo }} yum install make git python3-pip -y - ${{ inputs.sudo }} pip3 install virtualenv + ${{ inputs.sudo }} yum install make gcc git -y - name: Install additional packages if: ${{ inputs.packages != ''}} shell: bash run: | ${{ inputs.sudo }} yum install ${{ inputs.packages }} -y - - name: Setup Python venv - shell: bash - run: | - virtualenv venv - source venv/bin/activate - python3 -m pip install -r requirements.txt - echo "$(pwd)/venv/bin/" >> "$GITHUB_PATH"