#107 Add cache support

This commit is contained in:
uazo
2023-07-23 05:18:26 -05:00
committed by GitHub
parent 55afa47439
commit 08f5fb7cb0
+7
View File
@@ -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