- 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 \
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: |