|
|
|
@ -30,7 +30,7 @@ runs: |
|
|
|
|
- shell: bash |
|
|
|
|
run: git lfs pull |
|
|
|
|
|
|
|
|
|
# build scons cache |
|
|
|
|
# restore scons cache |
|
|
|
|
- id: date |
|
|
|
|
shell: bash |
|
|
|
|
run: echo "CACHE_COMMIT_DATE=$(git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d-%H:%M')" >> $GITHUB_ENV ; echo "CACHE_FILE_HASHES=$(sha256sum selfdrive/test/build.sh tools/install_ubuntu_dependencies.sh tools/install_python_dependencies.sh | cut -d" " -f1 | tr '\n' '_')" >> $GITHUB_ENV |
|
|
|
@ -45,7 +45,7 @@ runs: |
|
|
|
|
scons-${{ runner.arch }}-${{ env.CACHE_COMMIT_DATE }} |
|
|
|
|
scons-${{ runner.arch }} |
|
|
|
|
|
|
|
|
|
# try to restore rootfs image cache |
|
|
|
|
# restore rootfs image cache |
|
|
|
|
- id: rootfs-cache |
|
|
|
|
uses: actions/cache/restore@v4 |
|
|
|
|
with: |
|
|
|
|