From 026336a87ba59f54223180bc46bd97409f88c166 Mon Sep 17 00:00:00 2001 From: Markkus Millend Date: Tue, 7 Nov 2023 12:08:29 +0100 Subject: [PATCH] Disable networking for built binaries --- .github/workflows/{github.yml => release.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{github.yml => release.yml} (93%) diff --git a/.github/workflows/github.yml b/.github/workflows/release.yml similarity index 93% rename from .github/workflows/github.yml rename to .github/workflows/release.yml index 19fe21b..f82f70c 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ --- -name: Release +name: "Release" on: push: @@ -30,7 +30,7 @@ jobs: run: | targets=(x86_64-unknown-linux-gnu x86_64-pc-windows-msvc x86_64-apple-darwin aarch64-apple-darwin) for target in "${targets[@]}"; do - deno compile --unstable -A --target "${target}" -o "./targets/ethereum-deposit-cli_${target}" ./bin/ethereum-deposit-cli.ts + deno compile --unstable --allow-read --allow-write --target "${target}" -o "./targets/ethereum-deposit-cli_${target}" ./bin/ethereum-deposit-cli.ts done sha256sum ./targets/ethereum-deposit-cli_* > ./targets/SHA256SUMS