github actions cache apt packages
- name: Install valgrind
env:
CACHE_HIT: ${{steps.cache-valgrind.outputs.cache-hit}}
VALGRIND_VERSION: ${{secrets.VALGRIND_VERSION}}
run: |
if [[ "$CACHE_HIT" == 'true' ]]; then
sudo cp --verbose --force --recursive ~/valgrind/* /
else
sudo apt-get install --yes valgrind="$VALGRIND_VERSION"
mkdir -p ~/valgrind
sudo dpkg -L valgrind | while IFS= read -r f; do if test -f $f; then echo $f; fi; done | xargs cp --parents --target-directory ~/valgrind/
fi
- name: Cache valgrind
uses: actions/[email protected]
id: cache-valgrind
with:
path: "~/valgrind"
key: ${{secrets.VALGRIND_VERSION}}
Also in C++:
- linux enable scroll lock
- npm run serve in background
- shell use command output as string
- "What is the Git command to view all the changes since the last commit"
- github how to add ssh key
- mongodb restart command ubuntu
- linux search for files larger than
- chrome installation on ubuntu
- git pull updates from fork
- debian install killall
- INSTALL VMwareTools on terminal ap=get
- find jpg or png
- git config credential.helper store
- powershell delete files older than 15 days
- how to switch branch
- anaconda clean uninstall everything
- git create new repo from branch
- homebrew permission
- CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install
- install @angular-devkit/build-angular
- bc sum command
- how to activate utf16 in powershell
- git commit and push command
- anaconda opencv install