Skip to content

Commit

Permalink
Install CA certificates directly
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>
  • Loading branch information
jjerphan committed Jan 20, 2025
1 parent 629b986 commit ccad7e4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ jobs:
use-mamba: true
if: ${{ ! contains(matrix.OS_NAME, 'Linux') }}

- name: Install CA certificates on Linux
run: |
if [[ "$OS_NAME" == "Linux" ]]; then
sudo apt-get update
sudo apt-get install -y ca-certificates
fi
if: ${{ contains(matrix.OS_NAME, 'Linux') }}

- name: Install CA certificates on MacOSX
run: |
if [[ "$OS_NAME" == "MacOSX" ]]; then
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /etc/ssl/certs/ca-certificates.crt
fi
if: ${{ contains(matrix.OS_NAME, 'MacOSX') }}

- name: Build and test miniforge
env:
ARCH: ${{ matrix.ARCH }}
Expand Down

0 comments on commit ccad7e4

Please sign in to comment.