[PM-12012] Remove region parsing from email URL (#947) #835
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cache | |
on: | |
push: | |
branches: | |
- "main" | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer | |
MINT_LINK_PATH: .mint/bin | |
MINT_PATH: .mint/lib | |
jobs: | |
cache-dependencies: | |
name: Cache dependencies | |
runs-on: macos-14 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Configure Ruby | |
uses: ruby/setup-ruby@a6b46b8a08edb18935835849f2a17072d5cc8c73 # v1.192.0 | |
with: | |
bundler-cache: true | |
- name: Cache Mint packages | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: .mint | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: | | |
${{ runner.os }}-mint- | |
- name: Cache SPM packages | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
path: build/DerivedData/SourcePackages | |
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-spm- | |
- name: Install Mint and xcbeautify | |
run: | | |
brew install mint xcbeautify | |
./Scripts/bootstrap.sh | |
- name: Update Xcode dependencies | |
run: | | |
set -o pipefail && \ | |
xcodebuild -resolvePackageDependencies \ | |
-project Bitwarden.xcodeproj \ | |
-clonedSourcePackagesDirPath build/DerivedData/SourcePackages |