only set --break-system-packages as environment to be compatible with older versions
This commit is contained in:
parent
38d56f1c57
commit
5cb8bdd8c7
|
@ -10,6 +10,8 @@ jobs:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
PIP_BREAK_SYSTEM_PACKAGES:1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -17,8 +19,8 @@ jobs:
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
#apt-get install -y python3-pip
|
#apt-get install -y python3-pip
|
||||||
python3 -m pip install --upgrade pip --break-system-packages
|
python3 -m pip install --upgrade pip
|
||||||
pip install -U platformio --break-system-packages
|
pip install -U platformio
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
pio run
|
pio run
|
||||||
|
|
|
@ -18,6 +18,9 @@ jobs:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
PIP_BREAK_SYSTEM_PACKAGES:1
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
|
Loading…
Reference in New Issue