From 51edf884a6f216807bf3bf867926b65d892a5824 Mon Sep 17 00:00:00 2001 From: Chelal <31129985+xfvvvv@users.noreply.github.com> Date: Fri, 26 Apr 2024 12:03:02 +0800 Subject: [PATCH] Update Build_OP_x86_64.yml --- .github/workflows/Build_OP_x86_64.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Build_OP_x86_64.yml b/.github/workflows/Build_OP_x86_64.yml index adcf869ee5..b682229051 100644 --- a/.github/workflows/Build_OP_x86_64.yml +++ b/.github/workflows/Build_OP_x86_64.yml @@ -108,7 +108,7 @@ jobs: - name: Generate Variables - Build_x86_64 run: | - [ -e $CONFIG_FILE ] && mv $CONFIG_FILE $OPENWRT_PATH/.config + cp $CONFIG_FILE $OPENWRT_PATH/.config cd $OPENWRT_PATH make defconfig > /dev/null 2>&1 SOURCE_REPO="$(echo $REPO_URL | awk -F '/' '{print $(NF)}')" @@ -138,17 +138,12 @@ jobs: chmod +x $DIY_SCRIPT cd $OPENWRT_PATH $GITHUB_WORKSPACE/$DIY_SCRIPT - - - name: Generate configuration file - if: (!cancelled()) - run: | - cd $OPENWRT_PATH - make defconfig - + - name: Download package if: (!cancelled()) run: | cd $OPENWRT_PATH + make defconfig make download -j8 find dl -size -1024c -exec ls -l {} \; find dl -size -1024c -exec rm -f {} \;