From b18e12ef5f3c8c3214416b07f7d192d271c336ce Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 11 Jan 2024 15:43:59 -0800 Subject: [PATCH] progress Signed-off-by: Brian DeHamer --- .github/workflows/update-tuf-seeds.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-tuf-seeds.yml b/.github/workflows/update-tuf-seeds.yml index 46d9d0219..124d0a8fa 100644 --- a/.github/workflows/update-tuf-seeds.yml +++ b/.github/workflows/update-tuf-seeds.yml @@ -21,8 +21,11 @@ jobs: - name: ls run: tree ${{ runner.temp }} - name: make new + env: + TUF_CACHE: ${{ runner.temp }}/tuf run: | jq -n -c \ - --arg root "$(cat ${{ runner.temp }}/tuf/root.json | base64)" \ - --arg trusted_root "$(cat ${{ runner.temp }}/tuf/targets/trusted_root.json | base64)" \ - '{"foo":{"root.json":$root,"targets":{"trusted_root.json":$trusted_root}}}' + --arg mirror "${{ env.TUF_MIRROR }}" \ + --arg root "$(cat ${{ env.TUF_CACHE }}/root.json | base64)" \ + --arg trusted_root "$(cat ${{ env.TUF_CACHE }}/targets/trusted_root.json | base64)" \ + '{"$mirror":{"root.json":$root,"targets":{"trusted_root.json":$trusted_root,"registry.npmjs.org%2Fkeys.json":"npm_keys"}}}'