Pip cache step runs after install and key is never expanded #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In .gitea/workflows/build-and-publish.yaml the "Cache pip dependencies" step runs AFTER "Install test dependencies", so the cache never accelerates the install it is meant to serve. Additionally the cache key is written as a YAML string "$RUNNER_OS-pip-..." where $RUNNER_OS is a shell variable that is never expanded in this context.
Fix:
Acceptance: