From cd799bc6f05a5d282aeb1c6d842d16c0aef3ae7e Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Fri, 2 Aug 2024 10:52:14 +1000 Subject: [PATCH] blah --- .github/workflows/settings-1-update.yml | 12 +----------- config/settings.json | 1 + 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/settings-1-update.yml b/.github/workflows/settings-1-update.yml index 204b35e..6719144 100644 --- a/.github/workflows/settings-1-update.yml +++ b/.github/workflows/settings-1-update.yml @@ -79,16 +79,6 @@ jobs: # Replace all '"' in $update with '\"' so GitHub's fromJson(...) interprets it correctly. echo "updates=$update" >> $GITHUB_OUTPUT - # update=$(jq --raw-output --compact-output \ - # '[.deployment | to_entries[] | .key as $d | .value | to_entries[] | { - # "deployment-environment": $d, - # "type": .key, - # "spack": .value.spack - # }] | @json' ${{ env.CONFIG_SETTINGS_PATH }} - # ) - # echo "$update" - # echo "update=$update" >> $GITHUB_OUTPUT - settings-update: name: Update if: github.event_name == 'push' @@ -118,5 +108,5 @@ jobs: spack-type: ${{ matrix.update.type }} # {"0.20": "7r8y43r8", "0.21": "wr7834yr", ...} spack-update: | - ${{ fromJson(matrix.update.spack) }} + ${{ matrix.update.spack }} secrets: inherit diff --git a/config/settings.json b/config/settings.json index 8330095..ddc537f 100644 --- a/config/settings.json +++ b/config/settings.json @@ -18,3 +18,4 @@ } } } +