Skip to content

Commit 645233b

Browse files
committed
CI: Checkout current branch instead of manually cloning.
Fix CI to use current branch, so that it is useful for PRs, rather than just commits to master.
1 parent b0a5b6c commit 645233b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545
echo "write=all" >> /etc/asterisk/manager.conf
4646
/etc/init.d/asterisk restart
4747
sleep 3
48+
- name: Checkout
49+
uses: actions/checkout@v4
4850
- name: Build CAMI and execute simple demo
4951
run: |
50-
cd /usr/src
51-
git clone https://github.com/InterLinked1/cami.git
52-
cd cami
5352
make
5453
make install
5554
make examples

0 commit comments

Comments
 (0)