.github/workflows: Don't install Python twice in CodeQL

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
Savva Mitrofanov 2023-01-18 17:53:33 +06:00
parent 0764246038
commit 86005c4c0c
No known key found for this signature in database
GPG Key ID: 774924031750BF64

View File

@ -69,10 +69,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10.6'
- name: Install Dependencies
run: |
choco install make nasm zip --no-progress
choco install iasl --no-progress --version=2017.11.10
- name: CI Bootstrap
run: |
src=$(curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@ -84,15 +88,6 @@ jobs:
config-file: ./.github/codeql/codeql-config.yml
# Note: Add new queries to codeql-config.yml file as they are enabled.
- name: Install Dependencies
run: |
choco install make nasm zip --no-progress
choco install iasl --no-progress --version=2017.11.10
- name: CI Bootstrap
run: |
src=$(curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1
- name: Init UDK submodules
run: |
git submodule update --init --recursive