workflows: update apt cache before installing pkgs

This commit is contained in:
Dawid Dziurla
2020-11-05 11:47:21 +01:00
committed by GitHub
parent 5ff0ac2816
commit f7bab5fdc0

View File

@@ -35,6 +35,7 @@ jobs:
- name: Update PPA repo
run: |
version="$(echo "$GITHUB_REF" | sed 's@refs/tags/v@@')"
sudo apt update
sudo apt install -y git-buildpackage
git fetch --tags https://github.com/$GITHUB_REPOSITORY
gbp import-ref -u "$version"