-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
39 changed files
with
307 additions
and
155 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @Oztechan/core-team | ||
* @Oztechan/core-team @mustafaozhan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
cancel-in-progress: ${{ !contains(github.ref, 'develop')}} | ||
|
||
env: | ||
BASE_URL_BACKEND: ${{ secrets.BASE_URL_BACKEND }} | ||
|
@@ -90,9 +90,12 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Assemble | ||
uses: gradle/gradle-build-action@v3.1.0 | ||
uses: gradle/actions/setup-gradle@v3.3.0 | ||
with: | ||
arguments: assemble | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" | ||
|
||
- name: Upload Android Artifacts | ||
uses: actions/[email protected] | ||
|
@@ -112,7 +115,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
DistributeAndroid: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GradleBuild ] | ||
if: github.event_name == 'push' | ||
outputs: | ||
|
@@ -123,7 +126,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Download Android Artifacts | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: androidArtifacts | ||
|
||
|
@@ -212,7 +215,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
DistributeIOS: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ XCodeBuild ] | ||
if: github.event_name == 'push' | ||
outputs: | ||
|
@@ -222,7 +225,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Download iOS IPA | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: iOSArtifacts | ||
path: ios | ||
|
@@ -262,9 +265,12 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Run Quality Jobs | ||
uses: gradle/gradle-build-action@v3.1.0 | ||
uses: gradle/actions/setup-gradle@v3.3.0 | ||
with: | ||
arguments: check koverMergedXmlReport --parallel | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" | ||
|
||
- name: Upload Coverage Report | ||
uses: actions/[email protected] | ||
|
@@ -281,7 +287,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
UploadQualityReports: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ Quality ] | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
|
@@ -290,13 +296,13 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Download Coverage Report | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: coverageReport | ||
path: build | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4.1.0 | ||
uses: codecov/codecov-action@v4.3.0 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: build/report.xml | ||
|
@@ -329,7 +335,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
CodeAnalysis: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
@@ -346,9 +352,12 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Detekt | ||
uses: gradle/gradle-build-action@v3.1.0 | ||
uses: gradle/actions/setup-gradle@v3.3.0 | ||
with: | ||
arguments: detektAll | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" | ||
|
||
- name: SwiftLint | ||
uses: norio-nomura/[email protected] | ||
|
@@ -366,7 +375,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
Notify: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GradleBuild, XCodeBuild, Quality, CodeAnalysis, DistributeAndroid, DistributeIOS, UploadQualityReports ] | ||
if: always() | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ env: | |
jobs: | ||
|
||
GenerateGradleArtifacts: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
@@ -85,9 +85,12 @@ jobs: | |
distribution: 'temurin' | ||
|
||
- name: Generate Artifacts | ||
uses: gradle/gradle-build-action@v3.1.0 | ||
uses: gradle/actions/setup-gradle@v3.3.0 | ||
with: | ||
arguments: :android:app:bundleRelease :backend:app:jar --parallel | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" | ||
|
||
- name: Upload Google App Bundle | ||
uses: actions/[email protected] | ||
|
@@ -112,14 +115,14 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
UploadToGooglePlay: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GenerateGradleArtifacts ] | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Download App Bundle | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: googleBundle | ||
|
||
|
@@ -148,14 +151,14 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
UploadToHuaweiAppGallery: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GenerateGradleArtifacts ] | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Download App Bundle | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: huaweiBundle | ||
|
||
|
@@ -180,14 +183,14 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
DeployToServer: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GenerateGradleArtifacts ] | ||
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Download Backend Jar | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
name: backendJar | ||
path: artifact | ||
|
@@ -246,7 +249,7 @@ jobs: | |
run: echo "status=success" >> $GITHUB_OUTPUT | ||
|
||
Notify: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
needs: [ GenerateGradleArtifacts, UploadToGooglePlay, UploadToHuaweiAppGallery, DeployToServer, UploadToAppStore ] | ||
if: always() | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">CCC_G</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">CCC_H</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
android/core/ad/src/google/kotlin/com/oztechan/ccc/android/core/ad/Ads.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
android/core/ad/src/huawei/kotlin/com/oztechan/ccc/android/core/ad/Ads.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.