Update AutoBuild.yml

This commit is contained in:
Hyy2001X 2020-10-22 06:53:03 +08:00 committed by GitHub
parent ce9ce6ad04
commit 31d5f38a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -81,19 +81,19 @@ jobs:
run: | run: |
cd openwrt cd openwrt
make defconfig make defconfig
make download -j8 make download -j$(nproc) V=s
find dl -size -1024c -exec rm -f {} \; find dl -size -1024c -exec rm -f {} \;
- name: Compile the Openwrt - name: Compile the Openwrt
run: | run: |
cd openwrt cd openwrt
make -j$(nproc) || make -j1 || make -j1 V=s make -j$(nproc) || make -j1 V=s
- name: Run Diy-Part3 Scripts - name: Run Diy-Part3 Scripts
run: | run: |
echo "## $(date +"%Y%m%d")-AutoBuild" > update_log.txt
cd openwrt cd openwrt
source $GITHUB_WORKSPACE/$CUSTOM_SCRIPT && Diy-Part3 source $GITHUB_WORKSPACE/$CUSTOM_SCRIPT && Diy-Part3
echo "## $(date +"%Y%m%d")-AutoBuild" > $GITHUB_WORKSPACE/update_log.txt
echo "Artifacts_DATE=$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV echo "Artifacts_DATE=$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
- name: Upload Firmware to Artifacts - name: Upload Firmware to Artifacts