Actions Cache not working for on release workflow

I am having trouble with Actions cache in a workflow this workflow which runs runs when a release is published:

The second job ran ~10 mins after the first ended. The logs of the first run show that cache was saved successfully but the second job run’s log show that it was unable to find the cache. (I have posted a link to the complete logs in the reply.)

I also have multiple other workflows that run on a pull request or push and caching seems to work fine for those.

How can I make caching work for this workflow as well?

This is the logs of first job run: Update build-image.yml · amCap1712/listenbrainz-server@5efaeea · GitHub
and this is the logs of second run: Update build-image.yml · amCap1712/listenbrainz-server@5efaeea · GitHub