Browse Source

fix apt install without update in deb build

Nick Sweeting 5 years ago
parent
commit
d6854a29ee
2 changed files with 3 additions and 3 deletions
  1. 3 2
      .github/workflows/debian.yml
  2. 0 1
      bin/build_docs.sh

+ 3 - 2
.github/workflows/debian.yml

@@ -19,7 +19,8 @@ jobs:
 
 
       - name: Install packaging dependencies
       - name: Install packaging dependencies
         run: |
         run: |
-          sudo apt install -y \
+          sudo apt-get update -qq
+          sudo apt-get install -y \
             python3 python3-dev python3-pip python3-venv python3-all \
             python3 python3-dev python3-pip python3-venv python3-all \
             dh-python debhelper devscripts dput software-properties-common \
             dh-python debhelper devscripts dput software-properties-common \
             python3-distutils python3-setuptools python3-wheel python3-stdeb
             python3-distutils python3-setuptools python3-wheel python3-stdeb
@@ -36,7 +37,7 @@ jobs:
       - name: Install archivebox from deb
       - name: Install archivebox from deb
         run: |
         run: |
           cd deb_dist/
           cd deb_dist/
-          sudo apt install ./archivebox*.deb
+          sudo apt-get install ./archivebox*.deb
 
 
       - name: Check ArchiveBox version
       - name: Check ArchiveBox version
         run: |
         run: |

+ 0 - 1
bin/build_docs.sh

@@ -20,7 +20,6 @@ fi
 cd "$REPO_DIR"
 cd "$REPO_DIR"
 
 
 
 
-
 echo "[*] Fetching latest docs version"
 echo "[*] Fetching latest docs version"
 cd "$REPO_DIR/docs"
 cd "$REPO_DIR/docs"
 git pull
 git pull