Skip to content

Commit

Permalink
[#6] Fix: update BUILD_KONFIG_PROPERTIES fetching for test.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Nov 30, 2023
1 parent 102b1f1 commit e632f8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- feature/6-set-up-cd-android

jobs:
deploy_android:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- develop
- feature/6-set-up-cd-android

jobs:
deploy_android:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: Code analysis, test and generate sample project
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
push:
branches-ignore:
- main
- develop
- 'release/*'
- 'release/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -105,8 +104,8 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Decode buildKonfig properties
run: echo ${{ secrets.BUILD_KONFIG_PROPERTIES }} | base64 --decode > buildKonfig.properties
- name: Set up the necessary config
run: echo "${{ secrets.BUILD_KONFIG_PROPERTIES }}" > buildKonfig.properties

- name: Run Detekt
run: ./gradlew detekt
Expand Down Expand Up @@ -170,9 +169,9 @@ jobs:
restore-keys: |
${{ runner.os }}-pods-
- name: Decode buildKonfig properties
- name: Set up the necessary config
working-directory: ./sample
run: echo ${{ secrets.BUILD_KONFIG_PROPERTIES }} | base64 --decode > buildKonfig.properties
run: echo "${{ secrets.BUILD_KONFIG_PROPERTIES }}" > buildKonfig.properties

- name: Generate KMM frameworks for Cocoapods
run: |
Expand Down

0 comments on commit e632f8f

Please sign in to comment.