#107 Add cache support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user