diff --git a/.github/workflows/misc-sync-templates.yml b/.github/workflows/misc-sync-templates.yml index a8093e8e90f11..d307926dcb95b 100644 --- a/.github/workflows/misc-sync-templates.yml +++ b/.github/workflows/misc-sync-templates.yml @@ -71,6 +71,9 @@ jobs: # 2. Yanking the template out of the monorepo workspace. + - name: Replace dev-dependencies path references to workspace references + run: find . -type f -name 'Cargo.toml' -exec sed -i'' -E "s/path = \"\.\.\/.*"/workspace = true/g" {} \; + working-directory: polkadot-sdk/templates/${{ matrix.template }}/ - name: Create a new workspace Cargo.toml run: | cat << EOF > Cargo.toml