From 79ec6b9a09dc22b848eab8e71c41b21f820fb11e Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 11 Jan 2024 15:19:20 -0800 Subject: [PATCH] make json Signed-off-by: Brian DeHamer --- .github/workflows/update-tuf-seeds.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-tuf-seeds.yml b/.github/workflows/update-tuf-seeds.yml index 5c412abf4..f511297ee 100644 --- a/.github/workflows/update-tuf-seeds.yml +++ b/.github/workflows/update-tuf-seeds.yml @@ -20,3 +20,10 @@ jobs: npx @tufjs/cli download --metadata-base-url ${TUF_MIRROR} --cache-path ${{ runner.temp }}/tuf --unsafe-root-download --target-name registry.npmjs.org/keys.json - name: ls run: tree ${{ runner.temp }} + - name: make new + run: | + jq --version + jq --help + jq -n --arg rootjson "hooray" '{"bar":{"root.json":$rootjson}}' + jq -n --arg rootjson $(cat ${{ runner.temp }}/tuf/root.json | base64) \ + '{"foo":{"root.json":$rootjson}}'