Skip to content

Commit

Permalink
wip: cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
snaselj committed Oct 12, 2023
1 parent 7853d62 commit 3ff397f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/unittests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3ff397f

Please sign in to comment.