Alt i Actions-variabler og -hemmeligheter, og tomtervel.no sin DNS #1
@@ -29,10 +29,11 @@ jobs:
|
|||||||
git clone --depth 1 --branch "${{ github.ref_name }}" "${{ github.server_url }}/${{ github.repository }}.git" checkout
|
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,
|
# 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
|
- name: dnscontrol
|
||||||
run: |
|
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
|
if [ ! -x "$bin" ]; then
|
||||||
tmp=$(mktemp -d)
|
tmp=$(mktemp -d)
|
||||||
base="https://github.com/StackExchange/dnscontrol/releases/download/v$DNSCONTROL_VERSION"
|
base="https://github.com/StackExchange/dnscontrol/releases/download/v$DNSCONTROL_VERSION"
|
||||||
|
|||||||
Reference in new issue
Block a user