File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,20 +58,22 @@ jobs:
5858 sudo apt-get update
5959 sudo apt-get install -y build-essential autoconf libtool pkg-config clang libc++-dev python3-impacket
6060
61+ - name : Download libssh2
62+ uses : actions/checkout@v4
63+ with :
64+ repository : libssh2/libssh2
65+ ref : ${{ matrix.libssh2_ref }}
66+ path : libssh2
67+ fetch-depth : 1
68+
6169 - name : Checkout OSP
6270 uses : actions/checkout@v4
6371 with :
6472 repository : wolfssl/osp
6573 path : osp
6674 fetch-depth : 1
67-
68- - name : Clone libssh2
69- run : |
70- git clone --depth=1 --branch ${{ matrix.libssh2_ref }} https://github.com/libssh2/libssh2.git libssh2
71-
72- - name : Apply patch
73- working-directory : libssh2
74- run : |
75+ - run : |
76+ cd libssh2
7577 patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/libssh2/${{ matrix.libssh2_ref }}-wolfprov.patch
7678
7779 - name : Build libssh2
You can’t perform that action at this time.
0 commit comments