8 # group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
9 # cancel-in-progress: true
13 runs-on: ubuntu-latest
17 uses: actions/checkout@v4
19 - name: Install dependencies
22 sudo apt-get install -y --no-install-recommends \
24 libxml-treebuilder-perl \
25 libyaml-libyaml-perl \
30 - name: Install dnscontrol
32 GH_TOKEN: ${{ github.token }}
34 arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
35 && gh release download --repo https://github.com/StackExchange/dnscontrol --pattern "dnscontrol-*.${arch}.deb" --output /tmp/dnscontrol.deb \
36 && sudo apt install /tmp/dnscontrol.deb -y