CI: wait for dpkg lock in debian/ubuntu setup step

This commit is contained in:
Stanislas Lange 2024-05-16 20:33:32 +02:00
parent a2725d61a3
commit 0cc002e17d
No known key found for this signature in database

View File

@ -59,7 +59,7 @@ jobs:
host: ${{ steps.server_ip.outputs.value }}
username: root
key: ${{ secrets.SSH_KEY }}
script: set -x && apt-get update && apt-get install -y git
script: set -x && apt-get -o DPkg::Lock::Timeout=120 update && apt-get install -y git
- name: Setup remote server (Fedora)
if: steps.server_os.outputs.value == 'fedora'