File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed
Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,28 @@ jobs:
4444 strategy :
4545 fail-fast : false
4646 matrix :
47- os : [ubuntu-latest, windows-latest, macos-13, macos-latest]
47+ os : [ubuntu-latest, windows-latest]
48+ # os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
4849
4950 steps :
50- - uses : actions/checkout@v4
51- with :
52- fetch-depth : 0
53- submodules : true
54- - uses : webfactory/ssh-agent@v0.9.0
51+ # Step 2: Install SSH client on Ubuntu (if missing)
52+ - name : Install SSH client (if needed)
53+ if : matrix.os == 'ubuntu-latest'
54+ run : sudo apt-get update && sudo apt-get install -y openssh-client
55+
56+ # Step 3: Set up SSH authentication
57+ - name : Set up SSH
58+ uses : webfactory/ssh-agent@v0.9.0
5559 with :
5660 ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
5761
62+ # Step 4: Add GitHub to known_hosts (to handle host key verification)
63+ - name : Add GitHub to known_hosts
64+ run : |
65+ mkdir -p ~/.ssh
66+ ssh-keyscan -H github.com >> ~/.ssh/known_hosts
67+ shell : bash
68+
5869 - uses : pypa/cibuildwheel@v2.21
5970
6071 - name : Upload wheels
You can’t perform that action at this time.
0 commit comments