Skip to content

Commit 6654131

Browse files
committed
download from github
1 parent 2dd76ef commit 6654131

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,19 @@ jobs:
159159
version: 3.3.0
160160
- name: openssl
161161
version: 3.2.0
162-
dl-path: /
163162
- name: openssl
164163
version: 1.1.1w
165-
dl-path: /
166164
- name: openssl
167165
version: 1.1.0l
166+
old: true
168167
dl-path: /old/1.1.0
169168
- name: openssl
170169
version: 1.0.2u
170+
old: true
171171
dl-path: /old/1.0.2
172172
- name: openssl
173173
version: 1.0.1u
174+
old: true
174175
dl-path: /old/1.0.1
175176
include:
176177
- target: x86_64-unknown-linux-gnu
@@ -257,7 +258,11 @@ jobs:
257258
run: |
258259
case "${{ matrix.library.name }}" in
259260
"openssl")
260-
url="https://www.openssl.org/source${{ matrix.library.dl-path }}/openssl-${{ matrix.library.version }}.tar.gz"
261+
if [[ "${{ matrix.library.old }}" == "true" ]]; then
262+
url="https://www.openssl.org/source${{ matrix.library.dl-path }}/openssl-${{ matrix.library.version }}.tar.gz"
263+
else
264+
url="https://github.com/openssl/openssl/releases/download/openssl-${{ matrix.library.version }}/openssl-${{ matrix.library.version }}.tar.gz"
265+
fi
261266
tar_flags="--strip-components=1"
262267
;;
263268
"libressl")

0 commit comments

Comments
 (0)