Skip to content

Commit 6c1f94d

Browse files
committed
chore: modify gh workflows
1 parent a9397c4 commit 6c1f94d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Diff for: .github/workflows/check-pr.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- develop
77
- main
88
- 'v[0-9]+.[0-9]+.[0-9]+*beta*'
9+
- V7
910
types: [opened, synchronize]
1011

1112
jobs:

Diff for: .github/workflows/lint-pr-title.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- develop
77
- 'v[0-9]+.[0-9]+.[0-9]+'
8+
- V7
89
types: [opened, edited, synchronize]
910

1011
jobs:

Diff for: .github/workflows/sample-distribution.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
build_and_deploy_ios_testflight_qa:
16-
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }}
16+
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/V7' }}
1717
runs-on: [macos-14]
1818
steps:
1919
- name: Connect Bot
@@ -38,14 +38,14 @@ jobs:
3838
bundle exec pod install
3939
- name: Build and release Testflight QA
4040
working-directory: examples/SampleApp
41-
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop' }};
41+
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/V7' }};
4242
env:
4343
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
4444
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
4545
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
4646

4747
build_and_deploy_android_s3:
48-
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
48+
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/V7' }}
4949
runs-on: ubuntu-latest
5050
steps:
5151
- uses: actions/checkout@v2
@@ -66,13 +66,13 @@ jobs:
6666
rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease
6767
- name: Configure AWS credentials
6868
uses: aws-actions/configure-aws-credentials@v1
69-
if: ${{ github.ref == 'refs/heads/develop' }}
69+
if: ${{ github.ref == 'refs/heads/V7' }}
7070
with:
7171
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7272
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7373
aws-region: us-east-1
7474
- name: Upload APK
75-
if: ${{ github.ref == 'refs/heads/develop' }}
75+
if: ${{ github.ref == 'refs/heads/V7' }}
7676
# https://getstream.io/downloads/rn-sample-app.apk
7777
run: |
7878
cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk

0 commit comments

Comments
 (0)