Skip to content

Commit 29cb7b8

Browse files
committed
chore(panel): remove '--debug' option from Trunk build hook
1 parent 0d0ffd4 commit 29cb7b8

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,15 @@ jobs:
2121
- nightly
2222
steps:
2323
- uses: actions/checkout@v4
24+
with:
25+
clean: 'false'
2426

2527
- name: Setup Rust environment
2628
run: |
2729
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2830
echo "CARGO_HOME=$HOME/.cargo" >> $GITHUB_ENV
2931
echo "RUSTUP_HOME=$HOME/.rustup" >> $GITHUB_ENV
3032
31-
- name: Cache Cargo dependencies
32-
uses: actions/cache@v4
33-
with:
34-
path: |
35-
~/.cargo/registry/index
36-
~/.cargo/registry/cache
37-
~/.cargo/git/db
38-
target
39-
key: ${{ runner.os }}-cargo-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
40-
restore-keys: |
41-
${{ runner.os }}-cargo-${{ matrix.toolchain }}-
42-
4333
- name: Build frontend
4434
working-directory: rustmail_panel
4535
run: trunk build --release --dist ../rustmail/static --config Trunk.toml

rustmail_panel/Trunk.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ generate-integrity = false
55
[[hooks]]
66
stage = "post_build"
77
command = "sh"
8-
command_arguments = ["-c", "find ../rustmail/static -name '*.wasm' -exec wasm-opt --debug -Oz {} -o {} \\;"]
8+
command_arguments = ["-c", "find ../rustmail/static -name '*.wasm' -exec wasm-opt -Oz {} -o {} \\;"]

0 commit comments

Comments
 (0)