Browse Source

pipeline: apt-get update to fix HTTP404 on install

Fabian Peter Hammerle 3 năm trước cách đây
mục cha
commit
52532230a6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      .github/workflows/python.yml

+ 2 - 0
.github/workflows/python.yml

@@ -25,6 +25,7 @@ jobs:
       with:
         python-version: ${{ matrix.python-version }}
     - run: pip install --upgrade pipenv>=2018.10.9
+    - run: sudo apt-get update
     # TODO exclude dbus-python from pipenv install
     - run: sudo apt-get install --yes --no-install-recommends libdbus-1-dev
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
@@ -47,6 +48,7 @@ jobs:
       with:
         python-version: ${{ matrix.python-version }}
     - run: pip install --upgrade pipenv>=2018.10.9
+    - run: sudo apt-get update
     - run: sudo apt-get install --yes --no-install-recommends libdbus-1-dev
     - run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
       env: