This commit is contained in:
Serhii Snitsaruk 2024-05-25 12:03:40 +02:00
parent 348d670028
commit 33b2d50519
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ runs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: buildroot path: buildroot
key: ${{env.TOOLCHAIN_URL}} key: ${{env.TOOLCHAIN_SHA}}
- name: Set up buildroot - name: Set up buildroot
if: steps.cache-buildroot.outputs.cache-hit != 'true' if: steps.cache-buildroot.outputs.cache-hit != 'true'
@ -38,10 +38,10 @@ runs:
mkdir buildroot mkdir buildroot
wget ${TOOLCHAIN_URL} -O buildroot/buildroot.tar.bz2 wget ${TOOLCHAIN_URL} -O buildroot/buildroot.tar.bz2
cd buildroot cd buildroot
echo "${TOOLCHAIN_SHA} buildroot.tar.bz2" | shasum --check echo "${TOOLCHAIN_SHA} buildroot.tar.bz2"
tar -xjf buildroot.tar.bz2 echo "${TOOLCHAIN_SHA} buildroot.tar.bz2" | shasum --check
tar -xjf buildroot.tar.bz2 --strip-components=1
ls -l ls -l
rm buildroot.tar.bz2 rm buildroot.tar.bz2
cd buildroot
./relocate-sdk.sh ./relocate-sdk.sh
cd .. cd ..