-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
The function aptHash is defined but not used anywhere. This mean the packages are cached based only on names and not based on their installed versions.
Lines 20 to 23 in cbc42fb
| run: | | |
| sudo apt-get update -yq | |
| aptHash(){ echo "$1-$(apt-cache policy "$1" | grep -oP '(?<=Candidate:\s)(.+)')"; } | |
| echo "packagesHash=$(echo "${{ inputs.packages }}" | xargs -rn1 | tr '\n' '-' | md5sum | cut -f 1 -d ' ')" >> $GITHUB_ENV |
Metadata
Metadata
Assignees
Labels
No labels