Skip to content

Commit

Permalink
update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-raveendran committed Jan 16, 2024
1 parent eb83ba3 commit fd8ef33
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/cd_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
lfs: true
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/setup-node@v3
- name: Install modules
run: yarn install
Expand All @@ -28,14 +32,12 @@ jobs:
with:
ruby-version: 3.1.2

- name: Setup Fastlane
run: |
cd ios && bundle install
- name: Run pod install
- name: Setup Bundler
run: |
cd ios && bundle exec pod install
cd ios
gem install bundler
bundle install
- name: Build App and Upload to Appstore
env:
TEMP_KEYCHAIN_NAME: ${{ secrets.TEMP_KEYCHAIN_NAME_APPSTORE }}
Expand All @@ -49,8 +51,7 @@ jobs:
APPSTORE_CONNECT_KEY_CONTENT: ${{ secrets.APPSTORE_CONNECT_KEY_CONTENT }}
run: |
cd ios
gem install bundler
bundle install
bundle exec pod install
bundle exec fastlane build_and_deploy_to_appstore --env testapp-ios-appstore build_number:$GITHUB_RUN_NUMBER
- name: 'Upload Artifacts'
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/cd_tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
lfs: true
- name: Checkout LFS objects
run: git lfs pull
- uses: actions/setup-node@v3
- name: Install modules
run: yarn install
Expand All @@ -29,14 +33,12 @@ jobs:
with:
ruby-version: 3.1.2

- name: Setup Fastlane
run: |
cd ios && bundle install
- name: Run pod install
- name: Setup Bundler
run: |
cd ios && bundle exec pod install
cd ios
gem install bundler
bundle install
- name: Build App and Upload to Appstore
env:
TEMP_KEYCHAIN_NAME: ${{ secrets.TEMP_KEYCHAIN_NAME_APPSTORE }}
Expand All @@ -50,8 +52,7 @@ jobs:
APPSTORE_CONNECT_KEY_CONTENT: ${{ secrets.APPSTORE_CONNECT_KEY_CONTENT }}
run: |
cd ios
gem install bundler
bundle install
bundle exec pod install
bundle exec fastlane build_and_deploy_to_appstore --env testapp-tvos-appstore build_number:$GITHUB_RUN_NUMBER
- name: 'Upload Artifacts'
Expand Down

0 comments on commit fd8ef33

Please sign in to comment.