Skip to content

Commit

Permalink
ci: supress exception on downloading cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed May 11, 2023
1 parent f90420d commit 06aa597
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quickstart-windows-dev-gocqhttp.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Quickstart Dev (Mirai)
name: Windows Quickstart Dev (go-cqhttp)

on:
workflow_dispatch:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
cd C:/generated_files/chatgpt
..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py
..\python3.11\python.exe -m pip install -r requirements.txt
..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)"
..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """)
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quickstart-windows-dev-mirai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
cd C:/generated_files/chatgpt
..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py
..\python3.11\python.exe -m pip install -r requirements.txt
..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)"
..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """)
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/quickstart-windows-gocqhttp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
cd C:/generated_files/chatgpt
..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py
..\python3.11\python.exe -m pip install -r requirements.txt
..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """)
echo "Packing..."
cd C:/generated_files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quickstart-windows-mirai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
cd C:/generated_files/chatgpt
..\python3.11\python.exe C:/generated_files/python3.11/get-pip.py
..\python3.11\python.exe -m pip install -r requirements.txt
..\python3.11\python.exe -c "from pycloudflared import try_cloudflare; try_cloudflare(-1)"
..\python3.11\python.exe -c exec("""from pycloudflared import try_cloudflare \ntry: try_cloudflare(-1)\nexcept:... """)
echo "Packing..."
cd C:/generated_files
Expand Down

0 comments on commit 06aa597

Please sign in to comment.