mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
only set --break-system-packages as environment to be compatible with older versions
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -10,6 +10,8 @@ jobs:
|
||||
os: [ubuntu-latest]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
PIP_BREAK_SYSTEM_PACKAGES:1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
@@ -17,8 +19,8 @@ jobs:
|
||||
- name: Install deps
|
||||
run: |
|
||||
#apt-get install -y python3-pip
|
||||
python3 -m pip install --upgrade pip --break-system-packages
|
||||
pip install -U platformio --break-system-packages
|
||||
python3 -m pip install --upgrade pip
|
||||
pip install -U platformio
|
||||
- name: Build
|
||||
run: |
|
||||
pio run
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -18,6 +18,9 @@ jobs:
|
||||
# The type of runner that the job will run on
|
||||
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:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
|
||||
Reference in New Issue
Block a user