Skip to content

Commit

Permalink
specify apt repo in command instead of preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolSpy3 committed Jan 12, 2025
1 parent 7fdb4cc commit 9a46e2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test_suite_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,8 @@ jobs:
if [[ $UBUNTU_VERSION == "24.04" ]]; then
sudo snap remove firefox
sudo add-apt-repository -y ppa:mozillateam/ppa
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox
Pin: version 1:1snap*
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo apt update
sudo apt install -y firefox
sudo apt install -y -t o=LP-PPA-mozillateam firefox
fi
- name: Set up Python 3.9
uses: actions/setup-python@v4
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/test_suite_linux_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,8 @@ jobs:
if [[ $UBUNTU_VERSION == "24.04" ]]; then
sudo snap remove firefox
sudo add-apt-repository -y ppa:mozillateam/ppa
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox
Pin: version 1:1snap*
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo apt update
sudo apt install -y firefox
sudo apt install -y -t o=LP-PPA-mozillateam firefox
fi
- name: Set up Python 3.9
uses: actions/setup-python@v2
Expand Down

0 comments on commit 9a46e2c

Please sign in to comment.