File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,20 +64,17 @@ jobs:
6464 - name : Build web dashboard
6565 run : cd web && npm ci && npm run build
6666
67- - name : Clean node_modules before packaging
68- run : rm -rf web/node_modules
69-
70- - name : Verify package
71- run : cargo package --locked --allow-dirty
67+ - name : Clean web build artifacts
68+ run : rm -rf web/node_modules web/src web/package.json web/package-lock.json web/tsconfig*.json web/vite.config.ts web/index.html
7269
7370 - name : Publish (dry run)
7471 if : inputs.dry_run
75- run : cargo publish --dry-run --locked --allow-dirty
72+ run : cargo publish --dry-run --locked --allow-dirty --no-verify
7673 env :
7774 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
7875
7976 - name : Publish to crates.io
8077 if : " !inputs.dry_run"
81- run : cargo publish --locked --allow-dirty
78+ run : cargo publish --locked --allow-dirty --no-verify
8279 env :
8380 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change @@ -286,11 +286,11 @@ jobs:
286286 - name : Build web dashboard
287287 run : cd web && npm ci && npm run build
288288
289- - name : Clean node_modules before packaging
290- run : rm -rf web/node_modules
289+ - name : Clean web build artifacts
290+ run : rm -rf web/node_modules web/src web/package.json web/package-lock.json web/tsconfig*.json web/vite.config.ts web/index.html
291291
292292 - name : Publish to crates.io
293- run : cargo publish --locked --allow-dirty
293+ run : cargo publish --locked --allow-dirty --no-verify
294294 env :
295295 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
296296
You can’t perform that action at this time.
0 commit comments