Skip to content

Commit 8271dbd

Browse files
authored
exclude gh workflows from cargo generate substitution (#36)
- [x] cannot generate a project with cargo generate because of the workflows `.github/workflows/coverage.yml` (better just to exclude them from vars expansion at all)
1 parent 5320d26 commit 8271dbd

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Signed commits
122122

123123
## How to use
124124

125-
To generate a new project from this template, you need to install [cargo-generate](https://github.com/cargo-generate/cargo-generate) and run:
125+
Either with "Use this template" green button on Github or, in case of using another git hosting service (or have to avoid referencing this repository), you can use [cargo-generate](https://github.com/cargo-generate/cargo-generate).
126126

127127
```sh
128128
cargo install cargo-generate

cargo-generate.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ cargo_generate_version = ">=0.23.0"
77

88
# Exclude files from the placeholder generated for the template
99
exclude = [
10-
".github/workflows/dependency-audit.yml",
11-
".github/workflows/coverage-pr.yml",
12-
".github/workflows/semver-checks.yml",
10+
".github/workflows",
1311
"target",
1412
]

0 commit comments

Comments
 (0)