Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

github actions cache apt packages

- name: Cache valgrind
  uses: actions/cache@v1.0.3
  id: cache-valgrind
  with:
      path: "~/valgrind"
      key: ${{secrets.VALGRIND_VERSION}}
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: bash multiplication of arguments 
Shell :: kipping acquire of configured file 
Shell :: submit siomething to backgrpund 
Shell :: ubuntu uninstall twilio quest 
Shell :: debian buster add ip alias cli 
Shell :: how to put access.log in gitignore 
Shell :: centos who connected to server 
Shell :: automator save pdf to downloads 
Shell :: /dev/block/mmcblk0p38 
Shell :: rsync follow symlink 
Shell :: command filter folder 
Shell :: keeping web server alive when terminal is off 
Shell :: important linux command 
Shell :: github authentication timeout linux 
Shell :: windows loader modified uninstall other cracks 
Shell :: termux login single command install 
Shell :: ubuntu vmware mouse buttons 
Shell :: flutter run web public network 
Shell :: count the number of words in a file 
Shell :: Bash script to authenticate machine users 
Shell :: gatsby typescript 
Shell :: how to install perl 
Shell :: kibana installation 
Shell :: pyinstaller version file 
Shell :: mac finder quick preview for markdown 
Shell :: join rows in one string linux 
Shell :: What does maven clean install -U do? 
Shell :: Installing nano on Debian/Ubuntu machines 
Shell :: kube cluster 
Shell :: installing choclatey no adminstrative rights 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =