Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MojitoBar authored Dec 22, 2023
1 parent b1ff04a commit 89a5479
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
CERT_EXPORT_KEY: ${{ secrets.CERT_EXPORT_PWD }}

KEYCHAIN: ${{ 'test.keychain' }}

steps:
- name: Checkout project
uses: actions/checkout@v3
- name: List Xcode installations
run: sudo ls -1 /Applications | grep "Xcode"
- name: Select Xcode 15.1
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
- name: Create Secrets File
run: |
echo "GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }}" >> Secrets.xcconfig
Expand All @@ -39,10 +42,7 @@ jobs:
- name: Print Current Working Directory
run: pwd
- name: Move Secrets File to Resources
run: |
mv Secrets.xcconfig pins/Resources/
- name: Select latest Xcode
run: "sudo xcode-select -s /Applications/Xcode_15.1.app"
run: mv Secrets.xcconfig pins/Resources/
- name: Configure Keychain
run: |
security create-keychain -p "" "$KEYCHAIN"
Expand Down

0 comments on commit 89a5479

Please sign in to comment.