Skip to content

Commit

Permalink
testing new cert/profile
Browse files Browse the repository at this point in the history
  • Loading branch information
MonicaG committed Sep 16, 2024
1 parent e57c229 commit 514d93a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/build-mobile-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,28 +66,28 @@ jobs:
run: |
npx react-native build-android --mode=release
# - name: Upload Artifact
# uses: actions/upload-artifact@v3
# with:
# name: android-release
# path: DevExMobileTestApp/android/app/build/outputs/bundle/release/app-release.aab
# if-no-files-found: error
# retention-days: 5

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v4
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
disable-job-summary: true
env:
JF_PROJECT: ${{ vars.ARTIFACTORY_PROJECT }}
JF_URL: ${{ vars.ARTIFACTORY_URL }}
JF_USER: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_USER }}
JF_PASSWORD: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_PWD }}

- name: Push Build to Artifactory
run: |
export JFROG_CLI_LOG_LEVEL=DEBUG
jf rt upload android/app/build/outputs/bundle/release/app-release.aab ${{ vars.ARTIFACTORY_REPO_NAME }}
name: android-release
path: DevExMobileTestApp/android/app/build/outputs/bundle/release/app-release.aab
if-no-files-found: error
retention-days: 1

# - name: Setup JFrog CLI
# uses: jfrog/setup-jfrog-cli@v4
# with:
# disable-job-summary: true
# env:
# JF_PROJECT: ${{ vars.ARTIFACTORY_PROJECT }}
# JF_URL: ${{ vars.ARTIFACTORY_URL }}
# JF_USER: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_USER }}
# JF_PASSWORD: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_PWD }}

# - name: Push Build to Artifactory
# run: |
# export JFROG_CLI_LOG_LEVEL=DEBUG
# jf rt upload android/app/build/outputs/bundle/release/app-release.aab ${{ vars.ARTIFACTORY_REPO_NAME }}

build-ios:
name: Build and sign ios
Expand Down Expand Up @@ -144,8 +144,8 @@ jobs:
# from https://docs.github.com/en/enterprise-cloud@latest/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_STORE_BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.APPLE_APP_STORE_BUILD_CERTIFICATE_PASSWD }}
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_STORE_BUILD_CERTIFICATE_BASE64_LOCAL }}
P12_PASSWORD: ${{ secrets.APPLE_APP_STORE_BUILD_CERTIFICATE_PASSWD_LOCAL }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.IOS_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
Expand Down Expand Up @@ -203,27 +203,27 @@ jobs:
-exportOptionsPlist exportOptions.plist \
-verbose
# - name: Upload a Build Artifact
# uses: actions/upload-artifact@v3
# with:
# name: ios-release
# path: DevExMobileTestApp/ios/${{ env.EXPORT_DIR }}
# if-no-files-found: error
# retention-days: 5

- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v4
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
disable-job-summary: true
env:
JF_PROJECT: ${{ vars.ARTIFACTORY_PROJECT }}
JF_URL: ${{ vars.ARTIFACTORY_URL }}
JF_USER: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_USER }}
JF_PASSWORD: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_PWD }}
name: ios-release
path: DevExMobileTestApp/ios/${{ env.EXPORT_DIR }}
if-no-files-found: error
retention-days: 1

# - name: Setup JFrog CLI
# uses: jfrog/setup-jfrog-cli@v4
# with:
# disable-job-summary: true
# env:
# JF_PROJECT: ${{ vars.ARTIFACTORY_PROJECT }}
# JF_URL: ${{ vars.ARTIFACTORY_URL }}
# JF_USER: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_USER }}
# JF_PASSWORD: ${{ secrets.ARTIFACTORY_SERVICE_ACCOUNT_PWD }}


- name: Push Build to Artifactory
run: |
export JFROG_CLI_LOG_LEVEL=DEBUG
jf rt upload "$EXPORT_DIR/*" ${{ vars.ARTIFACTORY_REPO_NAME }}
# - name: Push Build to Artifactory
# run: |
# export JFROG_CLI_LOG_LEVEL=DEBUG
# jf rt upload "$EXPORT_DIR/*" ${{ vars.ARTIFACTORY_REPO_NAME }}

2 changes: 1 addition & 1 deletion DevExMobileTestApp/ios/exportOptions.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>provisioningProfiles</key>
<dict>
<key>ca.bc.gov.DevExMobileTestApp</key>
<string>bde67487-112f-4f4f-847d-b5aa6dda9703</string>
<string>cd5abd87-1152-4d61-931c-c1b4082405ae</string>
</dict>
</dict>
</plist>

0 comments on commit 514d93a

Please sign in to comment.