-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LEE JI WOO
committed
Dec 28, 2023
1 parent
bfc6718
commit 480c88b
Showing
2 changed files
with
60 additions
and
45 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
|
||
env: | ||
ALIAS: ${{ secrets.ALIAS }} | ||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | ||
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: macos-latest | ||
timeout-minutes: 120 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' # See 'Supported distributions' for available options | ||
java-version: '17' | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Access GOOGLE_SERVICES_JSON | ||
run: | | ||
echo '${{ secrets.GOOGLE_SERVICES_JSON_APP_MODULE }}' > ./app/google-services.json | ||
echo '${{ secrets.GOOGLE_SERVICES_JSON_DATA_MODULE }}' > ./data/google-services.json | ||
- name: Generate jks file from base64 | ||
uses: timheuer/base64-to-file@v1.2 | ||
with: | ||
fileName: 'jump_kking_key_store.jks' | ||
fileDir: './' | ||
encodedString: ${{ secrets.SIGNING_KEY }} | ||
|
||
- name: Build release variant including baseline profile generation | ||
run: ./gradlew :app:assembleRelease | ||
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" | ||
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true | ||
-Pandroid.experimental.androidTest.numManagedDeviceShards=1 | ||
-Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1 | ||
|
||
- name: Build Release AAB | ||
run: ./gradlew bundleRelease |
This file was deleted.
Oops, something went wrong.