Skip to content

Commit

Permalink
Update master branch to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
BarnumD committed May 31, 2024
1 parent c031027 commit 70e640c
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 56 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
run: bundle install

- name: Import App Store Connect API Key
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }}
run: echo $APP_STORE_CONNECT_API_JSON_PAYLOAD > fastlane/AppleAppStoreApi.json

- name: Increment Xcode Project Build Number
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: bundle exec fastlane cru_shared_lane_increment_xcode_project_build_number

- name: Build And Deploy For TestFlight Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
MATCH_GIT_BASIC_AUTHORIZATION_PAT: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION_PAT }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
Expand Down
106 changes: 53 additions & 53 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
name: Build App

on:
push:
branches: [ develop, master ]
pull_request:
branches: [ develop, master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: macos-14
env:
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60
# name: Build App

# on:
# push:
# branches: [ develop, master ]
# pull_request:
# branches: [ develop, master ]

# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:

# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true

# jobs:
# build:
# runs-on: macos-14
# env:
# FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60

steps:
# steps:

- name: Checkout code
uses: actions/checkout@v4

- name: Select Xcode Version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2.0'

- name: MPDXiOSLib SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.MPDX_IOS_LIB_SSH_PRIVATE_KEY }}

- name: Bundle Install
run: bundle install

- name: Import App Store Connect API Key
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }}
run: echo $APP_STORE_CONNECT_API_JSON_PAYLOAD > fastlane/AppleAppStoreApi.json

- name: Increment Xcode Project Build Number
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: bundle exec fastlane cru_shared_lane_increment_xcode_project_build_number

- name: Build And Deploy For TestFlight Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
MATCH_GIT_BASIC_AUTHORIZATION_PAT: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION_PAT }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
run: bundle exec fastlane cru_shared_lane_build_and_deploy_for_testflight_release is_running_in_ci:true
# - name: Checkout code
# uses: actions/checkout@v4

# - name: Select Xcode Version
# uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: '15.2.0'

# - name: MPDXiOSLib SSH Key
# uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.MPDX_IOS_LIB_SSH_PRIVATE_KEY }}

# - name: Bundle Install
# run: bundle install

# - name: Import App Store Connect API Key
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# env:
# APP_STORE_CONNECT_API_JSON_PAYLOAD: ${{ secrets.APP_STORE_CONNECT_API_JSON_PAYLOAD }}
# run: echo $APP_STORE_CONNECT_API_JSON_PAYLOAD > fastlane/AppleAppStoreApi.json

# - name: Increment Xcode Project Build Number
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# run: bundle exec fastlane cru_shared_lane_increment_xcode_project_build_number

# - name: Build And Deploy For TestFlight Release
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# env:
# MATCH_GIT_BASIC_AUTHORIZATION_PAT: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION_PAT }}
# MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
# run: bundle exec fastlane cru_shared_lane_build_and_deploy_for_testflight_release is_running_in_ci:true

0 comments on commit 70e640c

Please sign in to comment.