-
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
75 changed files
with
398 additions
and
505 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -65,7 +65,7 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
@@ -84,18 +84,18 @@ jobs: | |
gpg -d --passphrase "${{ secrets.SECRET_PASSWORD }}" --batch agconnect-services.json.asc > android/app/src/release/agconnect-services.json | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Assemble | ||
uses: gradle/gradle-build-action@v2.8.0 | ||
uses: gradle/gradle-build-action@v2.9.0 | ||
with: | ||
arguments: assemble | ||
|
||
- name: Upload Android Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
if: github.event_name == 'push' | ||
with: | ||
name: androidArtifacts | ||
|
@@ -120,23 +120,23 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo # Needed for reading commit message for Firebase App Distribution | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Download Android Artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: androidArtifacts | ||
|
||
- name: Firebase App Distribution Google | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1.5.1 | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1.6.0 | ||
with: | ||
appId: ${{secrets.ANDROID_GOOGLE_FIREBASE_APP_ID}} | ||
token: ${{secrets.FIREBASE_CLI_TOKEN}} | ||
groups: QA | ||
file: google/release/app-google-release.apk | ||
|
||
- name: Firebase App Distribution Huawei | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1.5.1 | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1.6.0 | ||
with: | ||
appId: ${{secrets.ANDROID_HUAWEI_FIREBASE_APP_ID}} | ||
token: ${{secrets.FIREBASE_CLI_TOKEN}} | ||
|
@@ -159,7 +159,7 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
@@ -184,25 +184,17 @@ jobs: | |
gpg -d --passphrase "${{ secrets.SECRET_PASSWORD }}" --batch Release.xcconfig.asc > ios/CCC/Resources/Release/Config.xcconfig | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Generate Pods | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: :ios:provider:podGenIOS :client:core:res:podGenIOS --parallel | ||
|
||
- name: Build | ||
run: | | ||
cd ios/CCC | ||
pod install --repo-update | ||
cd .. | ||
fastlane build | ||
working-directory: ios | ||
run: fastlane build | ||
|
||
- name: Upload iOS Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
if: github.event_name == 'push' | ||
with: | ||
name: iOSArtifacts | ||
|
@@ -226,18 +218,17 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Download iOS IPA | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: iOSArtifacts | ||
path: ios | ||
|
||
- name: Distribute | ||
run: | | ||
cd ios | ||
fastlane distribute | ||
working-directory: ios | ||
run: fastlane distribute | ||
|
||
- name: Delete iOS IPA | ||
uses: geekyeggo/[email protected] | ||
|
@@ -255,23 +246,23 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Run Quality Jobs | ||
uses: gradle/gradle-build-action@v2.8.0 | ||
uses: gradle/gradle-build-action@v2.9.0 | ||
with: | ||
arguments: check koverMergedXmlReport --parallel | ||
|
||
- name: Upload Coverage Report | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: coverageReport | ||
path: build/reports/kover/merged/xml/report.xml | ||
|
@@ -291,10 +282,10 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
- name: Clone Repo # Codecov requires it | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Download Coverage Report | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: coverageReport | ||
path: build | ||
|
@@ -312,7 +303,7 @@ jobs: | |
coverage-reports: build/report.xml | ||
|
||
- name: SonarCloud Scan | ||
uses: sonarsource/[email protected].1 | ||
uses: sonarsource/[email protected].2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
@@ -338,18 +329,18 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Detekt | ||
uses: gradle/gradle-build-action@v2.8.0 | ||
uses: gradle/gradle-build-action@v2.9.0 | ||
with: | ||
arguments: detektAll | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
uses: marvinpinto/[email protected] | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
prerelease: false | ||
|
||
- name: Set Job Status | ||
id: status | ||
|
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 |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
@@ -79,30 +79,30 @@ jobs: | |
gpg -d --passphrase "${{ secrets.SECRET_PASSWORD }}" --batch agconnect-services.json.asc > android/app/src/release/agconnect-services.json | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Generate Artifacts | ||
uses: gradle/gradle-build-action@v2.8.0 | ||
uses: gradle/gradle-build-action@v2.9.0 | ||
with: | ||
arguments: :android:app:bundleRelease :backend:app:jar --parallel | ||
|
||
- name: Upload Google App Bundle | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: googleBundle | ||
path: android/app/build/outputs/bundle/googleRelease/app-google-release.aab | ||
|
||
- name: Upload Huawei App Bundle | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: huaweiBundle | ||
path: android/app/build/outputs/bundle/huaweiRelease/app-huawei-release.aab | ||
|
||
- name: Upload Backend Jar | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v3.1.3 | ||
with: | ||
name: backendJar | ||
path: backend/app/build/libs/app-*.jar | ||
|
@@ -119,7 +119,7 @@ jobs: | |
steps: | ||
|
||
- name: Download App Bundle | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: googleBundle | ||
|
||
|
@@ -129,7 +129,7 @@ jobs: | |
gpg -d --passphrase "${{ secrets.SECRET_PASSWORD }}" --batch service_account.json.asc > service_account.json | ||
- name: Upload Artifact to Google Play Console | ||
uses: r0adkll/[email protected].1 | ||
uses: r0adkll/[email protected].2 | ||
with: | ||
serviceAccountJson: service_account.json | ||
packageName: mustafaozhan.github.com.mycurrencies | ||
|
@@ -154,7 +154,7 @@ jobs: | |
steps: | ||
|
||
- name: Download App Bundle | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: huaweiBundle | ||
|
||
|
@@ -185,13 +185,13 @@ jobs: | |
steps: | ||
|
||
- name: Download Backend Jar | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v3.0.2 | ||
with: | ||
name: backendJar | ||
path: artifact | ||
|
||
- name: Deploy to Server | ||
uses: easingthemes/[email protected].8 | ||
uses: easingthemes/[email protected].9 | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} | ||
|
@@ -214,13 +214,13 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
- name: Clone Repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4.1.0 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v3.13.0 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
@@ -234,17 +234,9 @@ jobs: | |
echo "${{ secrets.IOS_GPG_RELEASE_XCCONFIG }}" > Release.xcconfig.asc | ||
gpg -d --passphrase "${{ secrets.SECRET_PASSWORD }}" --batch Release.xcconfig.asc > ios/CCC/Resources/Release/Config.xcconfig | ||
- name: Generate Pods | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: :ios:provider:podGenIOS :client:core:res:podGenIOS --parallel | ||
|
||
- name: StoreBuild | ||
run: | | ||
cd ios/CCC | ||
pod install --repo-update | ||
cd .. | ||
fastlane store_build | ||
working-directory: ios | ||
run: fastlane store_build | ||
|
||
- name: Set Job Status | ||
id: status | ||
|
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
Oops, something went wrong.