diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 16:18:07 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 16:18:07 +0300 |
commit | 4fd8b38e50257d552a8bc149bffa657a84a8dd92 (patch) | |
tree | 1a839b475dd284f0b2c02194a3833268022e0069 | |
parent | workflows/test: use cache@v2 (diff) | |
download | build-boost-4fd8b38e50257d552a8bc149bffa657a84a8dd92.tar.gz build-boost-4fd8b38e50257d552a8bc149bffa657a84a8dd92.zip |
README: update
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -68,6 +68,26 @@ You can pass it to CMake using the `BOOST_LIBRARYDIR` parameter: -D "BOOST_LIBRARYDIR=${{ steps.boost.outputs.librarydir }}" \ ... +Caching +------- + +Cache the Boost distribution archive by using the `actions/cache` action. +For example, for Boost version 1.72.0: + + - name: Cache Boost + uses: actions/cache@v2 + with: + path: '${{ runner.workspace }}/boost_*.tar.gz' + key: 'boost-1.72.0' + + - name: Build Boost + # This won't re-download the archive unnecessarily: + uses: egor-tensin/build-boost@v1 + with: + version: 1.72.0 + ... + + Notes ----- |