From 4b9397a1b085dca072f3ab94d1029d38147ee1e7 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Mon, 30 Jan 2023 11:02:35 +0000 Subject: [PATCH] Fix the cache key. Also adjust the deps - the openwrt build is the longest, so start it sooner --- .github/workflows/tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6c20a49..17fc23c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -406,8 +406,6 @@ jobs: package_ipk: name: Package for OpenWrt - needs: - - test_linux runs-on: ubuntu-latest strategy: @@ -431,7 +429,7 @@ jobs: steps: - name: Get sdk run: | - wget ${{ matrix.sdk }} -O openwrt-sdk.tar.xz + wget -q ${{ matrix.sdk }} -O openwrt-sdk.tar.xz tar xf openwrt-sdk.tar.xz mv openwrt-sdk-* openwrt working-directory: ./ @@ -450,8 +448,8 @@ jobs: - name: Cache openwrt bin uses: actions/cache@v3 with: - path: bin - key: openwrt-bin-${{ matrix.sdk_ver }} + path: openwrt/bin + key: openwrt-bin-${{ matrix.sdk_ver }}-${{ matrix.name }} - name: Copy n2n package definition into openwrt run: |