From 3bb884635cf5ed1fe355e1e8a3db1a06ba75a31e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rennfanz=2C=20Bj=C3=B6rn?= Date: Thu, 5 Dec 2024 10:24:58 +0100 Subject: [PATCH] fixed linux builds --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16464eb..5f267d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -334,16 +334,16 @@ jobs: - name: Set up needed linux requirements if: runner.os == 'Linux' && matrix.architecture != 'arm64' run: | - apt-get update && apt-get install -y locales - sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen - locale-gen + sudo apt-get update && sudo apt-get install -y locales + sudo sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen + sudo locale-gen - name: Run pypylon unit tests for Python ${{ matrix.python-version }} if: runner.os == 'Linux' && matrix.architecture == 'arm64' uses: addnab/docker-run-action@v3 with: image: arm64v8/python:${{ matrix.python-version }}-slim - options: --platform linux/arm64 -v \${{ github.workspace }}:/build -w /build + options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build run: | apt-get update && apt-get install -y locales sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen