]> git.openstreetmap.org Git - dns.git/blobdiff - .github/workflows/check.yml
Replace jakelong with gorwen but using jakelong's IP addresses
[dns.git] / .github / workflows / check.yml
index 2c1dd4467ff4191f0c94e1e2d50984521f3e2f1b..cf4d39f10ab7d57d152e557dd369fc288c6e4db0 100644 (file)
@@ -14,12 +14,12 @@ jobs:
 
     steps:
     - name: Checkout
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - 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 \
@@ -28,10 +28,12 @@ jobs:
           gh
 
     - name: Install dnscontrol
+      env:
+        GH_TOKEN: ${{ github.token }}
       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
+        && gh release download --repo https://github.com/StackExchange/dnscontrol --pattern "dnscontrol-*.${arch}.deb" --output /tmp/dnscontrol.deb \
+        && sudo apt install /tmp/dnscontrol.deb -y
 
     - name: Run Check
       run: |