File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,20 @@ jobs:
86
86
- name : Setup WSL
87
87
88
88
with :
89
- additional-packages :
90
- cmake
91
- gawk
92
- gcc
93
- git
94
- gnupg
95
- make
96
- postgresql-client
97
- postgresql-common
98
- tree
89
+ distribution : Debian
90
+
91
+ - name : Configure apt retries and timeout in WSL
92
+ shell : wsl-bash {0}
93
+ run : |
94
+ echo 'Acquire::Retries "10";' >> /etc/apt/apt.conf.d/99retries
95
+ echo 'Acquire::http::Timeout "240";' >> /etc/apt/apt.conf.d/99retries
96
+ echo 'Acquire::https::Timeout "240";' >> /etc/apt/apt.conf.d/99retries
97
+
98
+ - name : Install additional packages in WSL
99
+ shell : wsl-bash {0}
100
+ run : |
101
+ apt-get update
102
+ apt-get install --yes --no-install-recommends cmake gawk gcc git gnupg make postgresql-client postgresql-common tree
99
103
100
104
- name : Configure git
101
105
# Since we want to reuse the checkout in the WSL environment
You can’t perform that action at this time.
0 commit comments