Skip to content

Commit c6845d8

Browse files
committed
ci: update paths for crates/ directory structure
1 parent 9b60175 commit c6845d8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo "RUSTUP_HOME=$HOME/.rustup" >> $GITHUB_ENV
3232
3333
- name: Build frontend
34-
working-directory: rustmail_panel
34+
working-directory: crates/rustmail_panel
3535
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
3636

3737
- name: Build Rust backend

.github/workflows/release-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
wasm-opt --version
4444
4545
- name: Build frontend
46-
working-directory: rustmail_panel
46+
working-directory: crates/rustmail_panel
4747
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
4848

4949
- name: Build Rust backend
@@ -115,15 +115,15 @@ jobs:
115115
shell: bash
116116

117117
- name: Create static directory
118-
run: mkdir -p rustmail/static
118+
run: mkdir -p crates/rustmail/static
119119
shell: bash
120120

121121
- name: Build frontend
122-
working-directory: rustmail_panel
122+
working-directory: crates/rustmail_panel
123123
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
124124

125125
- name: Verify static files were created
126-
run: ls rustmail/static
126+
run: ls crates/rustmail/static
127127
shell: bash
128128

129129
- uses: taiki-e/upload-rust-binary-action@v1

0 commit comments

Comments
 (0)