retry downloads
This commit is contained in:
25
.github/workflows/generator-android.yml
vendored
25
.github/workflows/generator-android.yml
vendored
@@ -391,23 +391,36 @@ jobs:
|
|||||||
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
||||||
|
|
||||||
- name: add cycle monitors to toolbar
|
- name: add cycle monitors to toolbar
|
||||||
continue-on-error: true
|
|
||||||
if: env.cycleMonitor == 'true'
|
if: env.cycleMonitor == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
continue-on-error: true
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
||||||
git apply cycle_monitor.diff
|
git apply cycle_monitor.diff
|
||||||
|
|
||||||
- name: use X for offline display instead of orange circle
|
- name: use X for offline display instead of orange circle
|
||||||
continue-on-error: true
|
|
||||||
if: env.xOffline == 'true'
|
if: env.xOffline == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
|
|
||||||
- name: hide-cm
|
- name: hide-cm
|
||||||
continue-on-error: true
|
|
||||||
if: env.hidecm == 'true'
|
if: env.hidecm == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
||||||
git apply hidecm.diff
|
git apply hidecm.diff
|
||||||
|
|
||||||
|
|||||||
38
.github/workflows/generator-linux.yml
vendored
38
.github/workflows/generator-linux.yml
vendored
@@ -221,9 +221,12 @@ jobs:
|
|||||||
|
|
||||||
- name: icon stuff
|
- name: icon stuff
|
||||||
if: ${{ env.iconlink_url != 'false' }}
|
if: ${{ env.iconlink_url != 'false' }}
|
||||||
continue-on-error: true
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
mv ./res/icon.ico ./res/icon.ico.bak
|
mv ./res/icon.ico ./res/icon.ico.bak
|
||||||
mv ./res/icon.png ./res/icon.png.bak
|
mv ./res/icon.png ./res/icon.png.bak
|
||||||
mv ./res/tray-icon.ico ./res/tray-icon.ico.bak
|
mv ./res/tray-icon.ico ./res/tray-icon.ico.bak
|
||||||
@@ -271,9 +274,12 @@ jobs:
|
|||||||
sed -i -e 's|Purslane Ltd|${{ env.compname }}|' ./libs/portable/Cargo.toml
|
sed -i -e 's|Purslane Ltd|${{ env.compname }}|' ./libs/portable/Cargo.toml
|
||||||
|
|
||||||
- name: allow custom.txt
|
- name: allow custom.txt
|
||||||
continue-on-error: true
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
command: |
|
||||||
sed -i -e 's|rs-ny.rustdesk.com|${{ env.server }}|' ./libs/hbb_common/src/config.rs
|
sed -i -e 's|rs-ny.rustdesk.com|${{ env.server }}|' ./libs/hbb_common/src/config.rs
|
||||||
sed -i -e 's|OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=|${{ env.key }}|' ./libs/hbb_common/src/config.rs
|
sed -i -e 's|OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=|${{ env.key }}|' ./libs/hbb_common/src/config.rs
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.py
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.py
|
||||||
@@ -314,23 +320,35 @@ jobs:
|
|||||||
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
||||||
|
|
||||||
- name: add cycle monitors to toolbar
|
- name: add cycle monitors to toolbar
|
||||||
continue-on-error: true
|
|
||||||
if: env.cycleMonitor == 'true'
|
if: env.cycleMonitor == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff
|
||||||
git apply cycle_monitor.diff
|
git apply cycle_monitor.diff
|
||||||
|
|
||||||
- name: use X for offline display instead of orange circle
|
- name: use X for offline display instead of orange circle
|
||||||
continue-on-error: true
|
|
||||||
if: env.xOffline == 'true'
|
if: env.xOffline == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
|
|
||||||
- name: hide-cm
|
- name: hide-cm
|
||||||
continue-on-error: true
|
|
||||||
if: env.hidecm == 'true'
|
if: env.hidecm == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/hidecm.diff
|
||||||
git apply hidecm.diff
|
git apply hidecm.diff
|
||||||
|
|
||||||
|
|||||||
15
.github/workflows/generator-windows-x86.yml
vendored
15
.github/workflows/generator-windows-x86.yml
vendored
@@ -218,8 +218,13 @@ jobs:
|
|||||||
sed -i -e 's|<span>{translate("Ready")}, <span .link #setup-server>{translate("setup_server_tip")}</span></span>|translate("Ready")|' ./src/ui/index.tis
|
sed -i -e 's|<span>{translate("Ready")}, <span .link #setup-server>{translate("setup_server_tip")}</span></span>|translate("Ready")|' ./src/ui/index.tis
|
||||||
|
|
||||||
- name: allow custom.txt
|
- name: allow custom.txt
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff
|
||||||
git apply allowCustom.diff
|
git apply allowCustom.diff
|
||||||
|
|
||||||
@@ -295,8 +300,12 @@ jobs:
|
|||||||
|
|
||||||
- name: magick stuff
|
- name: magick stuff
|
||||||
if: ${{ env.iconlink_url != 'false' }}
|
if: ${{ env.iconlink_url != 'false' }}
|
||||||
continue-on-error: true
|
uses: nick-fields/retry@v3
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
|
command: |
|
||||||
Invoke-WebRequest -Uri ${{ env.iconlink_url }}/get_png?filename=${{ env.iconlink_file }}"&"uuid=${{ env.iconlink_uuid }} -OutFile ./res/icon.png
|
Invoke-WebRequest -Uri ${{ env.iconlink_url }}/get_png?filename=${{ env.iconlink_file }}"&"uuid=${{ env.iconlink_uuid }} -OutFile ./res/icon.png
|
||||||
mv ./res/32x32.png ./res/32x32.png.bak
|
mv ./res/32x32.png ./res/32x32.png.bak
|
||||||
mv ./res/64x64.png ./res/64x64.png.bak
|
mv ./res/64x64.png ./res/64x64.png.bak
|
||||||
|
|||||||
41
.github/workflows/generator-windows.yml
vendored
41
.github/workflows/generator-windows.yml
vendored
@@ -261,8 +261,12 @@ jobs:
|
|||||||
#sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml
|
#sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml
|
||||||
|
|
||||||
- name: allow custom.txt
|
- name: allow custom.txt
|
||||||
continue-on-error: true
|
uses: nick-fields/retry@v3
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.py -OutFile allowCustom.py
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.py -OutFile allowCustom.py
|
||||||
python allowCustom.py
|
python allowCustom.py
|
||||||
# Remove Setup Server Tip
|
# Remove Setup Server Tip
|
||||||
@@ -363,8 +367,12 @@ jobs:
|
|||||||
|
|
||||||
- name: magick stuff
|
- name: magick stuff
|
||||||
if: ${{ env.iconlink_url != 'false' }}
|
if: ${{ env.iconlink_url != 'false' }}
|
||||||
continue-on-error: true
|
uses: nick-fields/retry@v3
|
||||||
run: |
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
|
command: |
|
||||||
Invoke-WebRequest -Uri ${{ env.iconlink_url }}/get_png?filename=${{ env.iconlink_file }}"&"uuid=${{ env.iconlink_uuid }} -OutFile ./res/iconx.png
|
Invoke-WebRequest -Uri ${{ env.iconlink_url }}/get_png?filename=${{ env.iconlink_file }}"&"uuid=${{ env.iconlink_uuid }} -OutFile ./res/iconx.png
|
||||||
mv ./res/icon.ico ./res/icon.ico.bak
|
mv ./res/icon.ico ./res/icon.ico.bak
|
||||||
mv ./res/icon.png ./res/icon.png.bak
|
mv ./res/icon.png ./res/icon.png.bak
|
||||||
@@ -400,16 +408,26 @@ jobs:
|
|||||||
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
sed -i -e 's|!key.is_empty()|false|' ./src/client.rs
|
||||||
|
|
||||||
- name: add cycle monitors to toolbar
|
- name: add cycle monitors to toolbar
|
||||||
continue-on-error: true
|
|
||||||
if: env.cycleMonitor == 'true'
|
if: env.cycleMonitor == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
|
continue-on-error: true
|
||||||
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/cycle_monitor.diff -OutFile cycle_monitor.diff
|
||||||
git apply cycle_monitor.diff
|
git apply cycle_monitor.diff
|
||||||
|
|
||||||
- name: use X for offline display instead of orange circle
|
- name: use X for offline display instead of orange circle
|
||||||
continue-on-error: true
|
|
||||||
if: env.xOffline == 'true'
|
if: env.xOffline == 'true'
|
||||||
run: |
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
|
continue-on-error: true
|
||||||
|
command: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/xoffline.diff -OutFile xoffline.diff
|
||||||
git apply xoffline.diff
|
git apply xoffline.diff
|
||||||
|
|
||||||
@@ -508,8 +526,13 @@ jobs:
|
|||||||
|
|
||||||
- name: logo stuff
|
- name: logo stuff
|
||||||
if: ${{ env.logolink_url != 'false' }}
|
if: ${{ env.logolink_url != 'false' }}
|
||||||
|
uses: nick-fields/retry@v3
|
||||||
|
with:
|
||||||
|
timeout_minutes: 1
|
||||||
|
max_attempts: 3
|
||||||
|
shell: pwsh
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
command: |
|
||||||
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png
|
Invoke-WebRequest -Uri ${{ env.logolink_url }}/get_png?filename=${{ env.logolink_file }}"&"uuid=${{ env.logolink_uuid }} -OutFile ./rustdesk/data/flutter_assets/assets/logo.png
|
||||||
|
|
||||||
- name: find Runner.res
|
- name: find Runner.res
|
||||||
|
|||||||
Reference in New Issue
Block a user