Skip to content

Commit

Permalink
bugfix : Const 디렉토리 생성 및 gitignore 대응
Browse files Browse the repository at this point in the history
  • Loading branch information
codejoo9098 authored Oct 11, 2024
1 parent 3e76520 commit 4fc253b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Create directory for Const.kt
run: mkdir -p ./app/src/main/java/com/juniori/puzzle/app/util/

- name: Copy secret
env:
OCCUPY_SECRET: ${{ secrets.CONST }}
OCCUPY_SECRET_DIR: ./app/src/main/java/com/juniori/puzzle/app/util/Const.kt
OCCUPY_SECRET_DIR_FILE_NAME: secret.yml
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME
env:
OCCUPY_SECRET: ${{ secrets.CONST }}
OCCUPY_SECRET_PATH: ./app/src/main/java/com/juniori/puzzle/app/util/Const.kt
run: echo "$OCCUPY_SECRET" > $OCCUPY_SECRET_PATH

# Build Debug App
- name: Build with Gradle
Expand Down

0 comments on commit 4fc253b

Please sign in to comment.