]> git.openstreetmap.org Git - dns.git/commitdiff
Add missing github action sudo
authorGrant Slater <github@firefishy.com>
Mon, 28 Nov 2022 13:20:07 +0000 (13:20 +0000)
committerGrant Slater <github@firefishy.com>
Mon, 28 Nov 2022 13:20:07 +0000 (13:20 +0000)
.github/workflows/check.yml

index 2c1dd4467ff4191f0c94e1e2d50984521f3e2f1b..7b3666f9b03e3dbd0682b2ec80c83267700dff83 100644 (file)
@@ -18,8 +18,8 @@ jobs:
 
     - name: Install dependencies
       run: |
-        apt-get update
-        apt-get install -y --no-install-recommends \
+        sudo apt-get update
+        sudo apt-get install -y --no-install-recommends \
           make \
           libxml-treebuilder-perl \
           libyaml-libyaml-perl \
@@ -31,7 +31,7 @@ jobs:
       run: |
         arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
         && gh release download --pattern 'dnscontrol-*.${arch}.deb --output /tmp/dnscontrol.deb \
-        && apt install /tmp/dnscontrol.deb -y
+        && sudo apt install /tmp/dnscontrol.deb -y
 
     - name: Run Check
       run: |