DNS workflow: dnscontrol in the runner user's cache
dns / dns (push) Successful in 5s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-07 16:30:40 +01:00
1 parent e183510466
commit efdae35d15
1 file changed
+3 -2
+3 -2
View File
@@ -29,10 +29,11 @@ jobs:
git clone --depth 1 --branch "${{ github.ref_name }}" "${{ github.server_url }}/${{ github.repository }}.git" checkout
# The release binary, checked against the release's own checksums,
# kept beside the portal lint so each version is fetched once.
# kept in the runner user's cache so each version is fetched once.
- name: dnscontrol
run: |
bin="/var/local/cargo-target/dnscontrol-$DNSCONTROL_VERSION"
mkdir -p "$HOME/.cache/dnscontrol"
bin="$HOME/.cache/dnscontrol/dnscontrol-$DNSCONTROL_VERSION"
if [ ! -x "$bin" ]; then
tmp=$(mktemp -d)
base="https://github.com/StackExchange/dnscontrol/releases/download/v$DNSCONTROL_VERSION"