From e49330c34a686b8c2bbd45e22bdc2bbedc106474 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Fri, 25 Oct 2024 11:45:16 +0800 Subject: [PATCH] Update dart.yml --- .github/workflows/dart.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index a72a8a97..7ff2c383 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -39,6 +39,16 @@ jobs: - name: Run tests run: dart --enable-experiment=native-assets test + # Upload logs on failure + - name: Upload logs + if: failure() || steps.build.outcome == 'failure' + uses: actions/upload-artifact@v4 + with: + name: build-logs + path: | + /Users/runner/work/thermion/thermion/thermion_dart//.dart_tool/thermion_dart/log/build.log + retention-days: 5 + # thermion_flutter: # name: thermion_flutter # runs-on: macos-13