Browse Source

add log to cargo build

Jonathan Kelley 4 tháng trước cách đây
mục cha
commit
9ac42e23bd
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      .github/workflows/main.yml

+ 3 - 1
.github/workflows/main.yml

@@ -80,6 +80,8 @@ jobs:
           docker-images: false
           swap-storage: false
       - run: sudo apt-get update
+      # todo: cache these?
+      # https://stackoverflow.com/questions/59269850/caching-apt-packages-in-github-actions-workflow
       - run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
       - uses: dtolnay/rust-toolchain@1.84.0
         with:
@@ -253,7 +255,7 @@ jobs:
           incremental: "true"
       - name: Prebuild CLI
         run: |
-          cargo build --package dioxus-cli --release
+          CARGO_LOG=debug cargo build --package dioxus-cli --release
       - name: Playwright
         working-directory: ./packages/playwright-tests
         run: |