From ea6171e8b4cbca61d59efe39b5f3720a55aa2c2a Mon Sep 17 00:00:00 2001 From: Somin Lee <46596035+s6m1n@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:00:18 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=08fix:=20android-ci.yml=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=EC=9D=98=20=EB=AA=85=EB=A0=B9=EC=96=B4=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LOCAL_PROPERTIES_API_KEY에 접근하는 명령어 수정 --- .github/workflows/android-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 325cbe004..7429e609b 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -47,7 +47,7 @@ jobs: - name: Access LOCAL_PROPERTIES_API_KEY run: | - echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" >> local.properties + echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" > local.properties shell: bash env: LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }} From d05f8e877bf34e29c31ab7bc2d03d40e9569820f Mon Sep 17 00:00:00 2001 From: Junyoung-WON Date: Tue, 23 Jul 2024 17:17:02 +0900 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=ED=8C=8C=EC=9D=B4=ED=94=84=EB=9D=BC?= =?UTF-8?q?=EC=9D=B8=20=EC=A0=9C=EA=B1=B0=ED=95=98=EC=97=AC=20=EB=AA=85?= =?UTF-8?q?=EB=A0=B9=EC=96=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 7429e609b..653f8ac3a 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -46,8 +46,7 @@ jobs: run: ./gradlew build - name: Access LOCAL_PROPERTIES_API_KEY - run: | - echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" > local.properties + run: echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" > local.properties shell: bash env: LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }} From 7c512df73e4f0b22d72d966a19bc863730bfc0e5 Mon Sep 17 00:00:00 2001 From: Junyoung-WON Date: Tue, 23 Jul 2024 19:02:01 +0900 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=EB=AC=B8=EC=9E=90=EC=97=B4=20?= =?UTF-8?q?=EC=9E=84=EC=9D=84=20=EB=AA=85=EC=8B=9C=ED=95=98=EA=B3=A0=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=9C=84=EC=B9=98=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 653f8ac3a..045827c2d 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -18,6 +18,9 @@ jobs: permissions: contents: read + env: + LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }} + steps: - uses: actions/checkout@v4 with: @@ -46,7 +49,5 @@ jobs: run: ./gradlew build - name: Access LOCAL_PROPERTIES_API_KEY - run: echo LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\" > local.properties + run: echo "LOCAL_PROPERTIES_API_KEY=\"$LOCAL_PROPERTIES_API_KEY\"" > local.properties shell: bash - env: - LOCAL_PROPERTIES_API_KEY: ${{ secrets.LOCAL_PROPERTIES_API_KEY }} From d95e46c527050b2d882431b7201b35b8c7d9b1ba Mon Sep 17 00:00:00 2001 From: Junyoung-WON Date: Tue, 23 Jul 2024 19:08:14 +0900 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20local.properties=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=8B=9C=EC=A0=90=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 045827c2d..d10fbfec8 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -26,6 +26,11 @@ jobs: 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: @@ -47,7 +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