From 3b7b723aa934c2fa666d2e6a70552e7c41faf1b0 Mon Sep 17 00:00:00 2001 From: tjuyy Date: Mon, 9 Dec 2019 22:58:21 +0800 Subject: [PATCH] add backup .config file --- .github/workflows/openwrt-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/openwrt-ci.yml b/.github/workflows/openwrt-ci.yml index 84d15e7..72b5ff2 100644 --- a/.github/workflows/openwrt-ci.yml +++ b/.github/workflows/openwrt-ci.yml @@ -88,8 +88,7 @@ jobs: - name: Backup step, only run if previous step status check is failure if: failure() run: | - cd friendlywrt-h5/friendlywrt - wget -O .config https://gist.githubusercontent.com/tjuyy/230f85d59dae048d6d5a92b6039de9ec/raw/a16852e1d2cd714a7719e484098ae83610cf4fd4/NanoPi-R1S-H5.config + [ -e friendlywrt-h5/friendlywrt/.config ] || cp NanoPi-R1S-H5.config friendlywrt-h5/friendlywrt/.config - name: Download package run: |