From 5526f2d29a0b6ae668c2125abc7ca6297a4ff732 Mon Sep 17 00:00:00 2001 From: kimjihye Date: Fri, 20 Dec 2024 07:15:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20build-and-deploy=EA=B0=80=20=EB=B3=B4?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20>=20=EC=95=84=ED=8B=B0=ED=8C=A9=ED=8A=B8?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80(=EC=A2=85=EC=86=8D=EC=84=B1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/itcast-build-and-deploy.yml | 8 ++++++++ .github/workflows/itcast-build-and-test.yml | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index 2a8d61ea..c90fb267 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -19,6 +19,14 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Download build artifact + uses: actions/download-artifact@v3 + with: + name: build-results + + - name: Debug workflow_run event + run: echo "${{ toJson(github.event) }}" + - name: Set up JDK 17 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/itcast-build-and-test.yml b/.github/workflows/itcast-build-and-test.yml index d917a881..9a5b6293 100644 --- a/.github/workflows/itcast-build-and-test.yml +++ b/.github/workflows/itcast-build-and-test.yml @@ -51,4 +51,10 @@ jobs: - name: Tear down Docker Compose if: always() - run: docker-compose down \ No newline at end of file + run: docker-compose down + + - name: Upload build artifact + uses: actions/upload-artifact@v3 + with: + name: build-results + path: build/libs/*.jar \ No newline at end of file