Skip to content

Commit 7e7882a

Browse files
author
pbromboszcz
committed
fix ci
1 parent a756417 commit 7e7882a

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,15 @@ jobs:
3131

3232
- name: Install mongodb-database-tools
3333
run: |
34-
sudo apt update
35-
sudo apt install -y mongodb-database-tools
34+
sudo apt-get update
35+
sudo apt-get install -y wget gnupg
36+
37+
wget -qO - https://www.mongodb.org/static/pgp/server-8.0.asc | sudo gpg --dearmor -o /usr/share/keyrings/mongodb-server-8.0.gpg
38+
39+
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
40+
41+
sudo apt-get update
42+
sudo apt-get install -y mongodb-database-tools
3643
3744
- name: Validate composer.json and composer.lock
3845
run: composer validate

0 commit comments

Comments
 (0)