From c7be5fe1a38d12cc55faf3a500a19425009d5033 Mon Sep 17 00:00:00 2001 From: hoon Date: Fri, 12 Jan 2024 02:33:58 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98?= =?UTF-8?q?=20=EA=B0=80=EC=A0=B8=EC=98=A4=EB=8A=94=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20(#37)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action-test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/action-test.yml b/.github/workflows/action-test.yml index 843fd28..1d3ce8b 100644 --- a/.github/workflows/action-test.yml +++ b/.github/workflows/action-test.yml @@ -34,15 +34,16 @@ jobs: java-version: '17' distribution: 'corretto' # OpenJDK 배포사 corretto, temurin + # Repository secrets 에 등록해둔 환경변수 파일 생성 - name: Copy secrets to application env: - GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} + OCCUPY_ENV: ${{ secrets.OCCUPY_ENV }} OCCUPY_SECRET_DIR: ./src/main/resources # 레포지토리 내 빈 env.yml의 위치 (main) OCCUPY_SECRET_DIR_FILE_NAME: env.yml # 파일 이름 - # secrets 값 복사 + # 환경변수 값 복사 run: | - echo "GOOGLE_API_KEY: $GOOGLE_API_KEY" >> $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME + echo $OCCUPY_ENV >> $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME # github action 에서 Gradle dependency 캐시 사용 - name: Cache Gradle packages