From 08f5fb7cb0c884e69ef7142979179f8040dfb3ba Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Sun, 23 Jul 2023 05:18:26 -0500 Subject: [PATCH] #107 Add cache support --- .github/workflows/check-git-apply.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/check-git-apply.yaml b/.github/workflows/check-git-apply.yaml index cb420e67..433b83bb 100644 --- a/.github/workflows/check-git-apply.yaml +++ b/.github/workflows/check-git-apply.yaml @@ -74,8 +74,15 @@ jobs: VERSION=$(cat cromite/build/RELEASE) echo "VERSION=$VERSION" >> $GITHUB_ENV + - name: Cache chromium sources + uses: actions/cache@v3 + with: + path: ~/chromium-src + key: chrsource-${{ env.VERSION }} + - name: Download chromium ${{ env.VERSION }} sources run: | + test -d ~/chromium-src && mkdir ~/chromium/src && cp -r ~/chromium-src ~/chromium/src ./bin/SuperPatchUtils bromite $RTAG chromium/src cd chromium/src git init