Fix the cache key. Also adjust the deps - the openwrt build is the longest, so start it sooner

This commit is contained in:
Hamish Coleman 2023-01-30 11:02:35 +00:00
parent 731be7e257
commit 4b9397a1b0

View File

@ -406,8 +406,6 @@ jobs:
package_ipk: package_ipk:
name: Package for OpenWrt name: Package for OpenWrt
needs:
- test_linux
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -431,7 +429,7 @@ jobs:
steps: steps:
- name: Get sdk - name: Get sdk
run: | run: |
wget ${{ matrix.sdk }} -O openwrt-sdk.tar.xz wget -q ${{ matrix.sdk }} -O openwrt-sdk.tar.xz
tar xf openwrt-sdk.tar.xz tar xf openwrt-sdk.tar.xz
mv openwrt-sdk-* openwrt mv openwrt-sdk-* openwrt
working-directory: ./ working-directory: ./
@ -450,8 +448,8 @@ jobs:
- name: Cache openwrt bin - name: Cache openwrt bin
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: bin path: openwrt/bin
key: openwrt-bin-${{ matrix.sdk_ver }} key: openwrt-bin-${{ matrix.sdk_ver }}-${{ matrix.name }}
- name: Copy n2n package definition into openwrt - name: Copy n2n package definition into openwrt
run: | run: |