From 108a836c0473fd7a731561111106fad96bad9bfb Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Tue, 10 Aug 2021 14:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Release=20=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/AutoBuild-Test.yml | 4 +++- .github/workflows/asus_rt-acrh17.yml | 4 +++- .github/workflows/d-team_newifi-d2.yml | 4 +++- .github/workflows/lenovo_newifi-d1.yml | 4 +++- .github/workflows/lenovo_newifi-y1.yml | 4 +++- .github/workflows/redmi_ax6.yml | 4 +++- .github/workflows/x86_64.yml | 4 +++- .github/workflows/xiaomi_redmi-router-ac2100.yml | 4 +++- .github/workflows/xiaoyu_xy-c5.yml | 4 +++- 9 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/AutoBuild-Test.yml b/.github/workflows/AutoBuild-Test.yml index 5629f33..d11888f 100644 --- a/.github/workflows/AutoBuild-Test.yml +++ b/.github/workflows/AutoBuild-Test.yml @@ -151,6 +151,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -159,12 +160,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/asus_rt-acrh17.yml b/.github/workflows/asus_rt-acrh17.yml index 2615b64..ee6731d 100644 --- a/.github/workflows/asus_rt-acrh17.yml +++ b/.github/workflows/asus_rt-acrh17.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/d-team_newifi-d2.yml b/.github/workflows/d-team_newifi-d2.yml index d1cdcd2..b6b68c6 100644 --- a/.github/workflows/d-team_newifi-d2.yml +++ b/.github/workflows/d-team_newifi-d2.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/lenovo_newifi-d1.yml b/.github/workflows/lenovo_newifi-d1.yml index d3503d8..595dc53 100644 --- a/.github/workflows/lenovo_newifi-d1.yml +++ b/.github/workflows/lenovo_newifi-d1.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/lenovo_newifi-y1.yml b/.github/workflows/lenovo_newifi-y1.yml index 8b86b2c..db10e6b 100644 --- a/.github/workflows/lenovo_newifi-y1.yml +++ b/.github/workflows/lenovo_newifi-y1.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/redmi_ax6.yml b/.github/workflows/redmi_ax6.yml index 6179880..f5fb52f 100644 --- a/.github/workflows/redmi_ax6.yml +++ b/.github/workflows/redmi_ax6.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/x86_64.yml b/.github/workflows/x86_64.yml index 086d918..824ed34 100644 --- a/.github/workflows/x86_64.yml +++ b/.github/workflows/x86_64.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/xiaomi_redmi-router-ac2100.yml b/.github/workflows/xiaomi_redmi-router-ac2100.yml index 0f28c50..99738c2 100644 --- a/.github/workflows/xiaomi_redmi-router-ac2100.yml +++ b/.github/workflows/xiaomi_redmi-router-ac2100.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true diff --git a/.github/workflows/xiaoyu_xy-c5.yml b/.github/workflows/xiaoyu_xy-c5.yml index 82d106d..6927266 100644 --- a/.github/workflows/xiaoyu_xy-c5.yml +++ b/.github/workflows/xiaoyu_xy-c5.yml @@ -154,6 +154,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: openwrt/bin/Firmware/* + file_glob: true tag: AutoUpdate overwrite: true @@ -162,12 +163,13 @@ jobs: run: | wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API - - name: Re-Upload API to Github Release + - name: Upload API to Github Release if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled() uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ./API + file_glob: true tag: AutoUpdate overwrite: true