We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0376e0 commit 884cdf9Copy full SHA for 884cdf9
1 file changed
.github/workflows/freebuff-e2e.yml
@@ -73,7 +73,20 @@ jobs:
73
- uses: ./.github/actions/setup-project
74
75
- name: Install tmux
76
- run: sudo apt-get update && sudo apt-get install -y tmux
+ run: |
77
+ if command -v tmux >/dev/null 2>&1; then
78
+ tmux -V
79
+ exit 0
80
+ fi
81
+
82
+ timeout 120s sudo apt-get install -y --no-install-recommends tmux || (
83
+ timeout 120s sudo apt-get update \
84
+ -o Acquire::Retries=3 \
85
+ -o Acquire::http::Timeout=20 \
86
+ -o Acquire::https::Timeout=20 &&
87
+ timeout 120s sudo apt-get install -y --no-install-recommends tmux
88
+ )
89
90
91
- name: Download Freebuff binary
92
uses: actions/download-artifact@v8
0 commit comments