Skip to content

Commit

Permalink
ruby setting (#107)
Browse files Browse the repository at this point in the history
* ruby 세팅 수정 (#93)

* ruby 세팅 수정 (#95)

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update Gemfile.lock

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml

* Update android-cd.yml
  • Loading branch information
likppi10 authored Aug 26, 2023
1 parent bced187 commit 9256022
Showing 1 changed file with 53 additions and 41 deletions.
94 changes: 53 additions & 41 deletions .github/workflows/android-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,60 @@ on:
branches: [ main ]

jobs:
cd-build:
runs-on: macos-latest
# cd-build:
# runs-on: macos-latest

# steps:
# - uses: actions/checkout@v3

# - name: Setup JDK 17
# uses: actions/setup-java@v3
# with:
# distribution: zulu
# java-version: 17

# - name: Setup Android SDK
# uses: android-actions/setup-android@v2

# - name: Setup Gradle
# uses: gradle/gradle-build-action@v2
# with:
# gradle-home-cache-cleanup: true

# - name: Generate secrets.properties
# run: |
# echo "SERVER_BASE_URL=${{ secrets.SERVER_BASE_URL }}" >> secrets.properties

# - name: Decode Keystore
# id: decode_keystore
# uses: timheuer/base64-to-file@v1
# with:
# fileName: '/app/bandalart.jks'
# encodedString: ${{secrets.APP_RELEASE_KEY_STORE_BASE_64}}

# - name: Generate keystore.properties
# run: |
# echo "STORE_FILE=${{ secrets.STORE_FILE }}" >> keystore.properties
# echo "STORE_PASSWORD=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
# echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> keystore.properties
# echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> keystore.properties

# - name: Code style checks
# run: ./gradlew ktlintCheck detekt

# - name: Run build
# run: ./gradlew buildDebug --stacktrace

# 이 위까지는 만일 핫픽스로 급한 경우에 바로 main에 push 할 경우가 생길 수 있으므로 ci 보존

steps:
- uses: actions/checkout@v3

publish_aab:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

# JDK 설정
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -32,43 +80,7 @@ jobs:
- name: Generate secrets.properties
run: |
echo "SERVER_BASE_URL=${{ secrets.SERVER_BASE_URL }}" >> secrets.properties
- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
with:
fileName: '/app/bandalart.jks'
encodedString: ${{secrets.APP_RELEASE_KEY_STORE_BASE_64}}

- name: Generate keystore.properties
run: |
echo "STORE_FILE=${{ secrets.STORE_FILE }}" >> keystore.properties
echo "STORE_PASSWORD=${{ secrets.STORE_PASSWORD }}" >> keystore.properties
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> keystore.properties
echo "KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}" >> keystore.properties
- name: Code style checks
run: ./gradlew ktlintCheck detekt

- name: Run build
run: ./gradlew buildDebug --stacktrace

# 이 위까지는 만일 핫픽스로 급한 경우에 바로 main에 push 할 경우가 생길 수 있으므로 ci 보존


publish_aab:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

# JDK 설정
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17

- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
Expand Down

0 comments on commit 9256022

Please sign in to comment.