From 645233b01463e396afcbd101873046fd651f4b23 Mon Sep 17 00:00:00 2001 From: InterLinked1 <24227567+InterLinked1@users.noreply.github.com> Date: Fri, 27 Dec 2024 13:46:09 -0500 Subject: [PATCH] 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. --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a91ae1e..2874a9d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,11 +45,10 @@ jobs: echo "write=all" >> /etc/asterisk/manager.conf /etc/init.d/asterisk restart sleep 3 + - name: Checkout + uses: actions/checkout@v4 - name: Build CAMI and execute simple demo run: | - cd /usr/src - git clone https://github.com/InterLinked1/cami.git - cd cami make make install make examples