Skip to content

Commit

Permalink
fix(GiniHealthSDK): Fix setup of credentials for GiniHealthSDK for Ap…
Browse files Browse the repository at this point in the history
…pcenter and Firebase release
  • Loading branch information
ValentinaIancu-Gini committed Nov 25, 2024
1 parent 6cfd158 commit 91b8396
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/health-sdk.publish.example.apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@ jobs:
- name: Setup Credentials
run: |
plutil -replace client_id -string "gini-mobile-test" HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample/CredentialsManager.swift
plutil -replace client_password -string "${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample/CredentialsManager.swift
sed -i '' \
-e 's/clientID = "client_id"/clientID = "gini-mobile-test"/' \
-e 's/clientPassword = "client_password"/clientPassword = "${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}"/' \
HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample/CredentialsManager.swift
- name: Archiving project
run: |
xcodebuild clean archive \
Expand Down

0 comments on commit 91b8396

Please sign in to comment.