Skip to content

Commit

Permalink
feat(cargo-generate): provide a values.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Aug 18, 2024
1 parent 2d31917 commit 1c31f76
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,7 @@ jobs:
with:
name: ${{ env.PROJECT_NAME }}
arguments: >-
--define=license="MIT"
--define=include_mdbook=true
--define=mdbook_pages_url=XXX
--define=include_security_policy=true
--define=include_precommit=true
--define=include_codecov=false
--define=codecov_graph_token=XXX
--define=architecture_url=XXX
--define=repository_path=XXX
--values-file cargo_generate/values.toml
- name: Build setup
uses: ./.github/actions/build_setup
- run: |
Expand Down
19 changes: 19 additions & 0 deletions cargo_generate/values.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[values]
include_code_of_conduct = false
include_precommit = false
include_security_policy = false
repository_path = "owner/name"
# optional
license = "MIT"
# optional
architecture_url = "XXX"

## codecov
include_codecov = false
# optional
codecov_graph_token = "XXX"

## mdbook
include_mdbook = false
# optional
mdbook_pages_url = "XXX"

0 comments on commit 1c31f76

Please sign in to comment.