Skip to content

Commit

Permalink
CI Linux - Add the PPA repository only on a CI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
xurei committed Oct 27, 2024
1 parent 183c148 commit 01b5e24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/utils.zsh/setup_linux
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ if (( ! (${skips[(Ie)all]} + ${skips[(Ie)deps]}) )) {
sudo apt-get install ${apt_args} gcc-${${target##*-}//_/-}-linux-gnu g++-${${target##*-}//_/-}-linux-gnu
}

sudo add-apt-repository --yes ppa:obsproject/obs-studio
if [[ "${CI}" ]]; then
sudo add-apt-repository --yes ppa:obsproject/obs-studio
fi
sudo apt update

sudo apt-get install ${apt_args} \
Expand Down

0 comments on commit 01b5e24

Please sign in to comment.