Skip to content

Commit

Permalink
[REFACT] Add New Repository Secret for Github Action
Browse files Browse the repository at this point in the history
  - Add new secret file for Github Action.
  • Loading branch information
doyoonkim3312 committed Oct 15, 2024
1 parent ed4d278 commit 38009ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/GenerateBuildArtifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
BASEURL: ${{ secrets.BASEURL }}
run: echo BASEURL="$BASEURL" > ./local.properties

- name: Create Necessary File for Building Project
run: cat /home/runner/work/KNUTICE-Android/KNUTICE-Android/app/google-services.json | base64

- name: Putting Data into Created File.
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/KNUTICE-Android/KNUTICE-Android/app/google-services.json

- name: Clean Project
run: ./gradlew clean

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ValidateDevelopmentForRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
BASEURL: ${{ secrets.BASEURL }}
run: echo BASEURL="$BASEURL" > ./local.properties

- name: Create Necessary File for Building Project
run: cat /home/runner/work/KNUTICE-Android/KNUTICE-Android/app/google-services.json | base64

- name: Putting Data into Created File.
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/KNUTICE-Android/KNUTICE-Android/app/google-services.json

- name: Clean Project
run: ./gradlew clean

Expand Down

0 comments on commit 38009ec

Please sign in to comment.