diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 62d2ecb..253d965 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -25,11 +25,13 @@ jobs: with: targets: armv7-unknown-linux-gnueabihf - name: Install cross-compilation dependencies - run: sudo apt-get update -y && sudo apt-get install -y \ - build-essential \ - libc6-armhf-cross \ - libc6-dev-armhf-cross \ - gcc-arm-linux-gnueabihf + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: build-essential \ + libc6-armhf-cross \ + libc6-dev-armhf-cross \ + gcc-arm-linux-gnueabihf + version: 1.0 - name: Build rootshell (arm32) run: cargo build --bin rootshell --target armv7-unknown-linux-gnueabihf --release - name: Build rayhunter (arm32)