workflows: update apt cache before installing pkgs
This commit is contained in:
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user