Downgrade OS version

This commit is contained in:
Anton Tananaev 2023-02-05 07:30:55 -08:00
parent 9c6de5bea8
commit 7236387b34

View File

@ -11,7 +11,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -41,9 +41,8 @@ jobs:
- run: ./traccar-web/tools/package.sh - run: ./traccar-web/tools/package.sh
- run: | - run: |
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo dpkg -l | awk '/ii lib.*deb.sury.org/ {gsub(/:.*/, s, $2); print $2}' | xargs apt show -a | awk '/Package:/ {p=$2} /APT-Sources: .*focal\/main/ {print p"/focal"}' | sudo xargs eatmydata apt install --allow-downgrades sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive eatmydata apt install -y --no-install-recommends wine-stable wine32 sudo apt-get install innoextract makeself wine32 s3cmd
sudo apt-get install innoextract makeself s3cmd
- name: Build installers - name: Build installers
working-directory: ./setup working-directory: ./setup
run: | run: |