summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2020-11-05 11:47:21 +0100
committerGitHub <noreply@github.com>2020-11-05 11:47:21 +0100
commitf7bab5fdc0f0ab9941c4773ac75ab9dcbbb494b9 (patch)
tree657c8042505f470faf190c25553d7d71374819c4 /.github
parent5ff0ac28162327d1669300f98d95e9ed0c67db46 (diff)
workflows: update apt cache before installing pkgs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cd.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 655e2fb31..c3977b948 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -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"