Skip to content

Commit 0732954

Browse files
committed
Fix ARM64 release cross build context
Run the Linux ARM64 cross build from the repository root and pass the backend manifest path explicitly. This keeps the top-level themes directory available inside the cross container, so RustEmbed can resolve the backend theme assets through ../themes while compiling anycode-backend.
1 parent 5300c6c commit 0732954

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ jobs:
143143
with:
144144
command: build
145145
target: aarch64-unknown-linux-musl
146-
args: "--release"
147-
working-directory: ./anycode-backend
146+
args: "--release --manifest-path anycode-backend/Cargo.toml"
147+
working-directory: .
148148

149149
- name: Package as tar.gz
150150
working-directory: ./anycode-backend

0 commit comments

Comments
 (0)