From ec4d14f1165be8463e449f2a4151ae42a3043c02 Mon Sep 17 00:00:00 2001 From: Michelle Szinger Date: Sat, 15 Oct 2022 12:03:48 -0600 Subject: [PATCH] Use `actions-rs/install` to install mksite This will (eventually) give us a huge build time boost when https://github.com/actions-rs/meta/issues/21 is implemented. --- .github/workflows/mksite.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mksite.yml b/.github/workflows/mksite.yml index 12db0dd..065a805 100644 --- a/.github/workflows/mksite.yml +++ b/.github/workflows/mksite.yml @@ -38,8 +38,16 @@ jobs: id: pages uses: actions/configure-pages@v2 - name: Install mksite - run: | - cargo install mksite + # You may pin to the exact commit or the version. + # uses: actions-rs/install@9da1d2adcfe5e7c16992e8242ca33a56b6d9b101 + uses: actions-rs/install@v0.1.2 + with: + # Binary crate name + crate: mksite + # Use tool cache to speed up installation + use-tool-cache: true + # Store installed binary in the GitHub Actions cache (not used yet) + use-cache: true - name: Build with mksite run: | make