From f0c4610d9189ec1e90323208f14f121da4177583 Mon Sep 17 00:00:00 2001 From: tsuna-can-se <61451753+tsuna-can-se@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:03:45 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=93=E3=83=AB=E3=83=89=E7=B5=90=E6=9E=9C?= =?UTF-8?q?=E3=82=92=E5=87=BA=E5=8A=9B=E3=81=99=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/back-sample-pull-request-ut.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/back-sample-pull-request-ut.yml b/.github/workflows/back-sample-pull-request-ut.yml index 058212146..40a4e322c 100644 --- a/.github/workflows/back-sample-pull-request-ut.yml +++ b/.github/workflows/back-sample-pull-request-ut.yml @@ -40,10 +40,26 @@ jobs: - id: run-build-and-tests name: ビルド(コンパイル, 静的テスト, JUnit)実行 - run: ./gradlew build + run: ./gradlew build > build-result.txt working-directory: ./samples/web-csr/dressca-backend continue-on-error: true + - name: ビルドログのアップロード + uses: actions/upload-artifact@v3 + with: + name: build-result + path: ./samples/web-csr/dressca-backend/build-result.txt + retention-days: 7 + + - name: ビルド(コンパイル, 静的テスト, JUnit)結果の表示 + shell: bash + if: ${{ success() || (failure() && steps.run-build-and-tests.outcome == 'failure') }} + run: | + echo '# Build Result :gear:' >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + cat build-result.txt >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + - name: ビルド(コンパイル, 静的テスト, JUnit)成功 if: ${{ steps.run-build-and-tests.outcome == 'success' }} run: |