diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d23d88e..ac61b52f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,12 +22,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Install missing buildroot dependency - - name: Install dependency - run: | - sudo apt-get update - sudo apt-get install -y libelf-dev - + # Check cache - name: Cache buildroot id: cache uses: actions/cache@v2 @@ -35,6 +30,12 @@ jobs: path: .buildroot key: ${{ runner.os }}-${{ hashFiles('files/configs/arpl_defconfig') }} + # Install missing buildroot dependency + - name: Install dependency + run: | + sudo apt-get update + sudo apt-get install -y libelf-dev + # Prepare buildroot for first make (for cache) - name: Prepare buildroot if: steps.cache.outputs.cache-hit != 'true' diff --git a/files/configs/arpl_defconfig b/files/configs/arpl_defconfig index 94579e0b..aa0b0a29 100644 --- a/files/configs/arpl_defconfig +++ b/files/configs/arpl_defconfig @@ -60,4 +60,3 @@ BR2_TARGET_ROOTFS_CPIO_XZ=y # BR2_TARGET_ROOTFS_TAR is not set BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_E2FSPROGS=y -