From 9f68f7fdede8585d693c4ff9affbd2a7e5aba2a0 Mon Sep 17 00:00:00 2001 From: John Mertic Date: Wed, 20 Nov 2024 07:37:50 -0500 Subject: [PATCH] Change how packages are installed to use a caching tool Signed-off-by: John Mertic --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a82dc9d..cbfc9e5 100644 --- a/action.yml +++ b/action.yml @@ -8,8 +8,10 @@ runs: using: composite steps: - name: Install cairo - shell: bash - run: sudo apt install libcairo2-dev + uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 + with: + packages: libcairo2-dev + version: 1.0 - name: Checkout landscape uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7@v4 with: