mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Give up and cache the entire openwrt buildchain
This commit is contained in:
parent
8e172d94ea
commit
9618512c8f
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
|
@ -424,7 +424,15 @@ jobs:
|
||||||
working-directory: openwrt
|
working-directory: openwrt
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cache entire openwrt dir
|
||||||
|
id: cache-openwrt
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: openwrt
|
||||||
|
key: openwrt-${{ matrix.sdk_ver }}-${{ matrix.name }}
|
||||||
|
|
||||||
- name: Get sdk
|
- name: Get sdk
|
||||||
|
if: steps.cache-openwrt.outputs-cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
wget -q ${{ 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
|
||||||
|
@ -442,18 +450,6 @@ jobs:
|
||||||
git fetch --force --tags
|
git fetch --force --tags
|
||||||
working-directory: n2n
|
working-directory: n2n
|
||||||
|
|
||||||
- name: Cache openwrt bin
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: openwrt/bin
|
|
||||||
key: openwrt-bin-${{ matrix.sdk_ver }}-${{ matrix.name }}
|
|
||||||
|
|
||||||
- name: Cache openwrt build_dir
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: openwrt/build_dir
|
|
||||||
key: openwrt-build_dir-${{ matrix.sdk_ver }}-${{ matrix.name }}
|
|
||||||
|
|
||||||
- name: Copy n2n package definition into openwrt
|
- name: Copy n2n package definition into openwrt
|
||||||
run: |
|
run: |
|
||||||
cp -r n2n/packages/openwrt openwrt/package/n2n
|
cp -r n2n/packages/openwrt openwrt/package/n2n
|
||||||
|
|
Loading…
Reference in New Issue
Block a user