From c300d8fcc7cbd386557e9dd2026db5011b52256d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Mar 2021 19:11:26 +0300 Subject: workflows: cache Boost downloads --- .github/workflows/basic.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.github/workflows/basic.yml') diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 6cdf983..2b29792 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -36,9 +36,15 @@ jobs: with: python-version: '3.x' + - name: Cache Boost + uses: actions/cache@v2 + with: + path: boost_*.tar.gz + key: boost-1.72.0 + - name: Build Boost run: | - python -m project.boost.download 1.72.0 + python -m project.boost.download --cache . 1.72.0 python -m project.boost.build -- boost_1_72_0 --with-filesystem - name: Build example project -- cgit v1.2.3