From 5cb8bdd8c74161e53bcb35e6a57a510ac260dd52 Mon Sep 17 00:00:00 2001 From: andreas Date: Fri, 11 Oct 2024 15:51:05 +0200 Subject: [PATCH] only set --break-system-packages as environment to be compatible with older versions --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/release.yml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac78ae5..050f76f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7a26bc..52b2fd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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