fix(sync-templates): keep parachain-template's workspace Cargo.toml (#7439)
# Description
Another small fix for sync-templates. We're copying the `polkadot-sdk`'s
`parachain-template` files (including the `parachain-template-docs`'s
Cargo.toml) to the directory where we're creating the workspace with all
`parachain-template` members crates, and workspace's toml. The error is
that in this directory for the workspace we first create the workspace's
Cargo.toml, and then copy the files of the `polkadot-sdk`'s
`parachain-template`, including the `Cargo.toml` of the
`parachain-template-docs` crate, which overwrites the workspace
Cargo.toml. In the end we delete the `Cargo.toml` (which we assume it is
of the `parachain-template-docs` crate), forgetting that previously
there should've been a workspace Cargo.toml, which should still be kept
and committed to the template's repository.
The error happens here:
https://github.com/paritytech/polkadot-sdk/actions/runs/13111697690/job/36577834127
## Integration
N/A
## Review Notes
Once again, merging this into master requires re-running sync templates
based on latest version on master. Hopefully this will be the last issue
related to the workflow itself.
---------
Signed-off-by:
Iulian Barbu <iulian.barbu@parity.io>
parent
3fb7c8c6
Please register or sign in to comment