From 7c40807284724ff7192b563889cb95d1885ff872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=8A=AC=EC=95=84?= Date: Mon, 26 Aug 2024 16:42:13 +0900 Subject: [PATCH] feat: setup application.yml at action --- .github/workflows/azure-dev.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 23952f5..e94a603 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -30,17 +30,22 @@ jobs: uses: actions/checkout@v4 - uses: actions/checkout@v3 - - name: Set up JDK 17 + - run: mkdir -p ./src/main/resources + - run: touch ./src/main/resources/application.yml + - run: echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.yml + - run: cat ./src/main/resources/application.yml + + - uses: actions/checkout@v3 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' + java-version: "21" + distribution: "zulu" - name: Build with Gradle run: | cd server ./gradlew build -x test - - name: Install azd uses: Azure/setup-azd@v1.0.0