-
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.
[#3404] Move project to Setup Gradle Repo from Global repo
- Loading branch information
1 parent
1e99500
commit 54bf301
Showing
2 changed files
with
16 additions
and
88 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 |
---|---|---|
|
@@ -64,11 +64,8 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Adding secret files | ||
run: | | ||
|
@@ -83,19 +80,8 @@ jobs: | |
echo "${{ secrets.AG_CONNECT_SERVICES_JSON_ASC }}" > agconnect-services.json.asc | ||
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/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Assemble | ||
uses: gradle/actions/[email protected] | ||
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" | ||
run: ./gradlew assemble | ||
|
||
- name: Upload Android Artifacts | ||
uses: actions/[email protected] | ||
|
@@ -161,11 +147,8 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Adding secret files | ||
run: | | ||
|
@@ -186,12 +169,6 @@ 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: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Build | ||
working-directory: ios | ||
run: fastlane build | ||
|
@@ -251,24 +228,11 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Run Quality Jobs | ||
uses: gradle/actions/[email protected] | ||
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" | ||
run: ./gradlew check koverMergedXmlReport --parallel | ||
|
||
- name: Upload Coverage Report | ||
uses: actions/[email protected] | ||
|
@@ -337,24 +301,11 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Detekt | ||
uses: gradle/actions/[email protected] | ||
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" | ||
run: ./gradlew detektAll | ||
|
||
- name: SwiftLint | ||
uses: norio-nomura/[email protected] | ||
|
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 |
---|---|---|
|
@@ -59,11 +59,8 @@ jobs: | |
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
|
||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Adding secret files | ||
run: | | ||
|
@@ -78,19 +75,8 @@ jobs: | |
echo "${{ secrets.AG_CONNECT_SERVICES_JSON_ASC }}" > agconnect-services.json.asc | ||
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/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
|
||
- name: Generate Artifacts | ||
uses: gradle/actions/[email protected] | ||
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" | ||
run: ./gradlew :android:app:bundleRelease :backend:app:jar --parallel | ||
|
||
- name: Upload Google App Bundle | ||
uses: actions/[email protected] | ||
|
@@ -216,17 +202,8 @@ jobs: | |
outputs: | ||
status: ${{ steps.status.outputs.status }} | ||
steps: | ||
- name: Clone Repo | ||
uses: actions/[email protected] | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
- name: Setup Gradle Repo | ||
uses: Oztechan/Global/.github/workflows/[email protected] | ||
|
||
- name: Adding secret files | ||
run: | | ||
|