@@ -134,6 +134,17 @@ jobs:
134134 pattern : artifacts-*
135135 path : target/distrib/
136136 merge-multiple : true
137+ - name : Install OpenSSL
138+ run : |
139+ if [[ "${{ runner.os }}" == "Linux" ]]; then
140+ sudo apt-get update
141+ sudo apt-get install -y libssl-dev pkg-config
142+ echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV
143+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
144+ brew install openssl@3
145+ echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
146+ fi
147+
137148 - name : Install dependencies
138149 run : |
139150 ${{ matrix.packages_install }}
@@ -182,6 +193,13 @@ jobs:
182193 name : cargo-dist-cache
183194 path : ~/.cargo/bin/
184195 - run : chmod +x ~/.cargo/bin/dist
196+
197+ - name : Install OpenSSL
198+ run : |
199+ sudo apt-get update
200+ sudo apt-get install -y libssl-dev pkg-config
201+ echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV
202+
185203 # Get all the local artifacts for the global tasks to use (for e.g. checksums)
186204 - name : Fetch local artifacts
187205 uses : actions/download-artifact@v4
@@ -231,6 +249,13 @@ jobs:
231249 name : cargo-dist-cache
232250 path : ~/.cargo/bin/
233251 - run : chmod +x ~/.cargo/bin/dist
252+
253+ - name : Install OpenSSL
254+ run : |
255+ sudo apt-get update
256+ sudo apt-get install -y libssl-dev pkg-config
257+ echo "OPENSSL_DIR=/usr/lib/ssl" >> $GITHUB_ENV
258+
234259 # Fetch artifacts from scratch-storage
235260 - name : Fetch artifacts
236261 uses : actions/download-artifact@v4
0 commit comments