Add auto retry when wget fail
This commit is contained in:
parent
ec6130e594
commit
2638e8eea4
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -215,7 +215,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -216,7 +216,7 @@ jobs:
|
|||
- name: Download Github API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload Github API to Release
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Compile_Result == 'true' && !cancelled()
|
||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Download Github Release API
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
|
||||
- name: Upload API to Github Release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
|
|
@ -220,7 +220,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
|
@ -281,7 +281,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
|
@ -272,7 +272,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
|
@ -268,7 +268,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
|
@ -264,7 +264,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
|
@ -256,7 +256,7 @@ jobs:
|
|||
- name: Download Github Release API
|
||||
if: env.UPLOAD_RELEASES == 'true' && env.Result == 'true' && !cancelled()
|
||||
run: |
|
||||
wget https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
wget --tries=5 --wait=5 https://api.github.com/repos/${{github.repository}}/releases/tags/AutoUpdate -O API
|
||||
SP_UEFI_IMG_GZ=openwrt/bin/Firmware/AutoBuild-*-UEFI-*.img.gz
|
||||
SP_UEFI_IMG_GZ=$(echo $SP_UEFI_IMG_GZ)
|
||||
SP_UEFI_IMG_GZ=${SP_UEFI_IMG_GZ##*/}
|
||||
|
|
Loading…
Reference in New Issue