mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
Merge pull request #7636 from BlueWallet/cache
OPS: Remove all cache when building from master.
This commit is contained in:
commit
685332ce22
1 changed files with 14 additions and 0 deletions
|
@ -29,6 +29,20 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # Ensures the full Git history is available
|
||||
|
||||
- name: Clear All Caches
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
echo "Clearing Xcode DerivedData..."
|
||||
rm -rf ~/Library/Developer/Xcode/DerivedData
|
||||
echo "Clearing CocoaPods Cache..."
|
||||
rm -rf ~/Library/Caches/CocoaPods
|
||||
echo "Clearing npm Cache..."
|
||||
npm cache clean --force
|
||||
echo "Clearing Ruby Gems Cache..."
|
||||
rm -rf ~/.gem
|
||||
echo "Clearing Bundler Cache..."
|
||||
rm -rf ~/.bundle/cache
|
||||
|
||||
- name: Ensure Correct Branch
|
||||
if: github.ref != 'refs/heads/master'
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue