From a1bd02bd7028414192404b33e2416aa12edd1225 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-tuf-seeds.yml b/.github/workflows/update-tuf-seeds.yml index 5c412abf4..845b98899 100644 --- a/.github/workflows/update-tuf-seeds.yml +++ b/.github/workflows/update-tuf-seeds.yml @@ -20,3 +20,9 @@ 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 $(cat ${{ runner.temp }}/tuf/root.json | base64) \ + '{"foo":{"root.json":$rootjson}}'