]> git.openstreetmap.org Git - dns.git/blobdiff - .github/workflows/check.yml
Bump actions/checkout from 3 to 4
[dns.git] / .github / workflows / check.yml
index 7b3666f9b03e3dbd0682b2ec80c83267700dff83..cf4d39f10ab7d57d152e557dd369fc288c6e4db0 100644 (file)
@@ -14,7 +14,7 @@ jobs:
 
     steps:
     - name: Checkout
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Install dependencies
       run: |
@@ -28,9 +28,11 @@ 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 \
+        && 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