workflows: cache apt packages
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
73aa285e8f
commit
141f2e3685
@ -11,19 +11,22 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: node:16-bookworm-slim
|
image: node:16-bookworm-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Get dependencies
|
- name: Enable backports
|
||||||
run: >-
|
run: >-
|
||||||
echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list.d/backports.list &&
|
echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list.d/backports.list
|
||||||
apt-get update &&
|
if: ${{ runner.os == 'Linux' }}
|
||||||
apt-get install -y
|
|
||||||
acl
|
- name: Ensure environment
|
||||||
git
|
run: >-
|
||||||
gcc
|
apt-get update && apt-get install -y curl wget sudo libxml2
|
||||||
pkg-config
|
if: ${{ runner.os == 'Linux' }}
|
||||||
libwayland-dev
|
|
||||||
wayland-protocols/bookworm-backports
|
- name: Get dependencies
|
||||||
libxcb1-dev
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
libacl1-dev
|
with:
|
||||||
|
packages: acl git gcc pkg-config libwayland-dev wayland-protocols/bookworm-backports libxcb1-dev libacl1-dev
|
||||||
|
version: 1.0
|
||||||
|
#execute_install_scripts: true
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
Loading…
Reference in New Issue
Block a user