diff --git a/.github/actions/unittests/action.yml b/.github/actions/unittests/action.yml index 4dc92af6..37e7178b 100644 --- a/.github/actions/unittests/action.yml +++ b/.github/actions/unittests/action.yml @@ -29,10 +29,10 @@ runs: cd development docker compose up --detach -- db redis - DB_IMAGE="$(docker compose convert --format json | jq -r .services.db.image)" - CACHE-KEY=$(docker compose run --rm --entrypoint='' -- nautobot invoke calc-dbdump-cache-key --salt='$DB_IMAGE') + export DB_IMAGE="$(docker compose convert --format json | jq -r .services.db.image)" + CACHE_KEY="$(docker compose run --rm --entrypoint='' -- nautobot invoke calc-dbdump-cache-key --salt="$DB_IMAGE")" - echo "cache-key=$CACHE-KEY" | tee -a "$GITHUB_OUTPUT" + echo "cache-key=$CACHE_KEY" | tee -a "$GITHUB_OUTPUT" - name: "Restore Cache Database Dump" uses: actions/cache@v3 with: