This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
docker create --name chad-client-windows-container chad-client-windows-builder
|
docker create --name chad-client-windows-container chad-client-windows-builder
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
docker cp chad-client-windows-container:/ artifacts/
|
docker cp chad-client-windows-container:/artifacts artifacts/
|
||||||
docker rm chad-client-windows-container
|
docker rm chad-client-windows-container
|
||||||
ls -la artifacts
|
ls -la artifacts
|
||||||
|
|
||||||
|
|||||||
@@ -37,14 +37,14 @@ RUN cargo install --locked cargo-xwin
|
|||||||
|
|
||||||
RUN yarn tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc
|
RUN yarn tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc
|
||||||
|
|
||||||
RUN ls -la src-tauri/target
|
|
||||||
|
|
||||||
RUN node scripts/generate-updater.mjs
|
RUN node scripts/generate-updater.mjs
|
||||||
|
|
||||||
# === Artifacts ===
|
# === Artifacts ===
|
||||||
FROM scratch AS artifacts
|
FROM scratch AS artifacts
|
||||||
|
|
||||||
COPY --from=builder /app/updater.json /
|
RUN mkdir -p artifacts
|
||||||
COPY --from=builder /app/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/ /
|
|
||||||
|
COPY --from=builder /app/updater.json /artifacts
|
||||||
|
COPY --from=builder /app/src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/ /artifacts
|
||||||
|
|
||||||
CMD ["true"]
|
CMD ["true"]
|
||||||
|
|||||||
Reference in New Issue
Block a user