Skip to content

Commit

Permalink
fix: develop-an의 CI yml 파일 문법 오류 수정 #47 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
s6m1n authored Jul 23, 2024
2 parents 9013e3d + a7952e4 commit 5f7b993
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,19 @@ jobs:
permissions:
contents: read

env:
LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create local.properties
run: |
echo "LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\"" > local.properties
shell: bash

- name: set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -44,9 +52,3 @@ jobs:

- name: Build with Gradle
run: ./gradlew build

- name: Access LOCAL_PROPERTIES_API_KEY
run: echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" > local.properties
shell: bash
env:
LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }}

0 comments on commit 5f7b993

Please sign in to comment.