Sha256: fa43014436dfe76e2de96d673d1e87023a2717dcdec224a4b5199514b4358ee4
Contents?: true
Size: 970 Bytes
Versions: 3
Compression:
Stored size: 970 Bytes
Contents
#!/bin/sh for cache_group in "$@" do case $cache_group in rails) cache store nvm-$SEMAPHORE_GIT_BRANCH-$(checksum .nvmrc) $HOME/.nvm cache store gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock) vendor/bundle cache store yarn-cache-$SEMAPHORE_GIT_BRANCH-$(checksum yarn.lock) $HOME/.cache/yarn cache store node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum yarn.lock) node_modules ;; python) cache store requirements-$SEMAPHORE_GIT_BRANCH-$(checksum requirements.txt) .pip_cache ;; assets) cache store packs-$SEMAPHORE_GIT_BRANCH public/packs cache store packstest-$SEMAPHORE_GIT_BRANCH public/packs-test cache store assets-$SEMAPHORE_GIT_BRANCH public/assets cache store sprocketscache-$SEMAPHORE_GIT_BRANCH tmp/cache/assets/sprockets cache store webpackercache-$SEMAPHORE_GIT_BRANCH tmp/cache/webpacker ;; *) echo "Invalid argument: Cache group $cache_group not found." exit 1 ;; esac done
Version data entries
3 entries across 3 versions & 1 rubygems