Skip to content

Commit

Permalink
CI: Checkout current branch instead of manually cloning.
Browse files Browse the repository at this point in the history
Fix CI to use current branch, so that it is useful for PRs,
rather than just commits to master.
  • Loading branch information
InterLinked1 committed Dec 27, 2024
1 parent b0a5b6c commit 645233b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 645233b

Please sign in to comment.