Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Oztechan/CCC#3404] Move project to Setup Gradle Repo from Global repo #3405

Merged
Merged
71 changes: 11 additions & 60 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/actions/[email protected]

- name: Adding secret files
run: |
Expand All @@ -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]
Expand Down Expand Up @@ -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/actions/[email protected]

- name: Adding secret files
run: |
Expand All @@ -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
Expand Down Expand Up @@ -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/actions/[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]
Expand Down Expand Up @@ -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/actions/[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]
Expand Down
33 changes: 5 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/actions/[email protected]

- name: Adding secret files
run: |
Expand All @@ -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]
Expand Down Expand Up @@ -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/actions/[email protected]

- name: Adding secret files
run: |
Expand Down
2 changes: 1 addition & 1 deletion submodule/basemob
2 changes: 1 addition & 1 deletion submodule/logmob
2 changes: 1 addition & 1 deletion submodule/parsermob
2 changes: 1 addition & 1 deletion submodule/scopemob