Skip to content

Commit 30f7304

Browse files
committed
fix: add sudo to aptly installation commands
1 parent 45de844 commit 30f7304

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ jobs:
103103
- name: Install Aptly version 1.5.0
104104
run: |
105105
# Install aptly on Ubuntu
106-
wget -O - https://www.aptly.info/pubkey.txt | apt-key add -
107-
echo "deb https://repo.aptly.info/ squeeze main" | tee -a /etc/apt/sources.list.d/aptly.list
108-
apt-get update
109-
apt-get install -y aptly
106+
wget -O - https://www.aptly.info/pubkey.txt | sudo apt-key add -
107+
echo "deb https://repo.aptly.info/ squeeze main" | sudo tee -a /etc/apt/sources.list.d/aptly.list
108+
sudo apt-get update
109+
sudo apt-get install -y aptly
110110
- name: Install createrepo_c
111111
run: |
112112
# Install createrepo_c on Ubuntu

0 commit comments

Comments
 (0)