Skip to content

Commit

Permalink
updated main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Mar 3, 2025
1 parent 1311b96 commit 7bcddd1
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -682,13 +682,13 @@ jobs:
# ============================================================================
# CocoaPods (for Mobile iOS builds)
#
- uses: actions/cache@v4
name: Cache Cocoa Pods
with:
path: Pods
key: cocoapods-${{ runner.os }}-${{ runner.arch }} # -${{ github.workflow }}-${{ hashFiles('**/Podfile') }}
restore-key: |
cocoapods-${{ runner.os }}-${{ runner.arch }} # -${{ github.workflow }}-
# - uses: actions/cache@v4
# name: Cache Cocoa Pods
# with:
# path: Pods
# key: cocoapods-${{ runner.os }}-${{ runner.arch }} # -${{ github.workflow }}-${{ hashFiles('**/Podfile') }}
# restore-key: |
# cocoapods-${{ runner.os }}-${{ runner.arch }} # -${{ github.workflow }}-

# ============================================================================
# macOS Xcode Cache
Expand Down Expand Up @@ -723,50 +723,50 @@ jobs:
# ============================================================================
# Alpine OS APK
#
- name: Apk Cache
if: startsWith(runner.os, 'Linux')
uses: actions/cache@v2
with:
path: /var/cache/apk
key: apk-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
restore-keys: |
apk-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# - name: Apk Cache
# if: startsWith(runner.os, 'Linux')
# uses: actions/cache@v2
# with:
# path: /var/cache/apk
# key: apk-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# restore-keys: |
# apk-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}

# ============================================================================
# Debian / Ubuntu Apt
#
- name: Apt Cache
if: startsWith(runner.os, 'Linux')
uses: actions/cache@v2
with:
path: /var/cache/apt
key: apt-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
restore-keys: |
apt-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# - name: Apt Cache
# if: startsWith(runner.os, 'Linux')
# uses: actions/cache@v2
# with:
# path: /var/cache/apt
# key: apt-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# restore-keys: |
# apt-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}

# ============================================================================
# macOS Homebrew Cache
#
- name: Brew Cache
if: startsWith(runner.os, 'macOS')
uses: actions/cache@v2
with:
path: ~/Library/Caches/Homebrew/
key: brew-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles(' /System/Library/CoreServices/SystemVersion.plist') }}
restore-keys: |
brew-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles(' /System/Library/CoreServices/SystemVersion.plist') }}
# - name: Brew Cache
# if: startsWith(runner.os, 'macOS')
# uses: actions/cache@v2
# with:
# path: ~/Library/Caches/Homebrew/
# key: brew-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles(' /System/Library/CoreServices/SystemVersion.plist') }}
# restore-keys: |
# brew-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles(' /System/Library/CoreServices/SystemVersion.plist') }}

# ============================================================================
# Redhat / CentOS / RockyLinux Yum RPM cache
#
- name: Yum Cache
if: startsWith(runner.os, 'Linux')
uses: actions/cache@v2
with:
path: /var/cache/yum
key: yum-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
restore-keys: |
yum-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# - name: Yum Cache
# if: startsWith(runner.os, 'Linux')
# uses: actions/cache@v2
# with:
# path: /var/cache/yum
# key: yum-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}
# restore-keys: |
# yum-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('/etc/*release') }}

# ============================================================================ #
# B u i l d
Expand Down

0 comments on commit 7bcddd1

Please sign in to comment.