Skip to content

Commit 5648389

Browse files
authored
Update bench.yml
1 parent 8a6cb64 commit 5648389

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/bench.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,27 @@ jobs:
9898
cat pr/bench-${{ matrix.device }}.* 2>/dev/null || true
9999
cat master/bench-${{ matrix.device }}.* 2>/dev/null || true
100100
101+
# Phoenix runners need to bypass the SOCKS tunnel for uploads
102+
- name: Archive Logs (Phoenix)
103+
if: always() && matrix.cluster == 'phoenix'
104+
uses: actions/upload-artifact@v4
105+
env:
106+
http_proxy: "socks5://localhost:1080"
107+
https_proxy: "socks5://localhost:1080"
108+
no_proxy: "localhost,127.0.0.1,github.com,api.github.com,uploads.github.com"
109+
NO_PROXY: "localhost,127.0.0.1,github.com,api.github.com,uploads.github.com"
110+
with:
111+
name: ${{ matrix.cluster }}-${{ matrix.device }}
112+
path: |
113+
pr/bench-${{ matrix.device }}.*
114+
pr/build/benchmarks/*
115+
master/bench-${{ matrix.device }}.*
116+
master/build/benchmarks/*
117+
118+
# All other runners (non-Phoenix) just run without special env
101119
- name: Archive Logs
120+
if: always() && matrix.cluster != 'phoenix'
102121
uses: actions/upload-artifact@v4
103-
if: always()
104122
with:
105123
name: ${{ matrix.cluster }}-${{ matrix.device }}
106124
path: |

0 commit comments

Comments
 (0)