From 781e0617982039beed9cc0bbac493102897aee9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Fri, 24 May 2024 10:16:16 +0200 Subject: [PATCH] Install packages using cache --- .github/workflows/deploy-to-ppa.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-ppa.yml b/.github/workflows/deploy-to-ppa.yml index 2f26370..04a46ae 100644 --- a/.github/workflows/deploy-to-ppa.yml +++ b/.github/workflows/deploy-to-ppa.yml @@ -6,6 +6,11 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 + # Install additional packages + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: devscripts debhelper dput python3-paramiko + version: 1.0 # Install our GnuPG key pair - env: GPG_KEYS: ${{ secrets.GPG_KEYS }} @@ -14,8 +19,6 @@ jobs: - env: SSH_ID: ${{ secrets.SSH_ID }} run: .github/install_ssh_id.sh - # Install additional packages - - run: sudo apt-get install -y devscripts debhelper dput python3-paramiko # Main script - env: COMMIT_BEFORE: ${{ github.event.before }}