From 685306c96401b76149ba5eb13f23f6007d2475ad Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 30 Sep 2023 20:50:44 +0300 Subject: [PATCH] Cache test --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37e4828..d97efb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,18 @@ jobs: steps: - run: apt-get update - run: apt-get install -yqq build-essential asciidoc debhelper dh-python docbook-xml libavahi-client-dev libavahi-core-dev libfreeipmi-dev libgd-dev libi2c-dev libipmimonitoring-dev libmodbus-dev libneon27-dev libnss3-dev libpowerman0-dev libsnmp-dev libusb-1.0-0-dev libwrap0-dev libxml2-utils xsltproc asciidoc-dblatex dblatex docbook-xsl + + + - name: Restore cached repo + uses: actions/cache/restore@v3 + with: + path: repo/ + key: ${{ runner.arch }}-build + - name: Check out repository code uses: actions/checkout@v4 - - run: dpkg-buildpackage -b -us -uc \ No newline at end of file + with: + path: repo/ + + - name: Build the DEB packages + run: dpkg-buildpackage -b -us -uc