File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616 - name : Run cargo generate
17- uses :
cargo-generate/[email protected] .3 17+ uses :
cargo-generate/[email protected] .5 1818 with :
1919 name : ${{ env.PROJECT_NAME }}
20- subfolder : template
21- template_values_file : .github/workflows/template_values.toml
20+ template : template
21+ arguments : " --template-values-file .github/workflows/template_values.toml --verbose "
2222 - name : Install Rust toolchain
2323 uses : dtolnay/rust-toolchain@stable
2424 - name : Cargo check
Original file line number Diff line number Diff line change @@ -25,11 +25,8 @@ Try to do one pull request per change.
2525## GitHub Actions
2626
2727When we have to mix GitHub actions variables with the ` {{ }} ` liquid syntax,
28- GitHub actions variable are written in the format
29- ` {{ "{{ github.variable " }}}} ` instead of ` {{ github.variable }} ` .
30-
31- Of course, when doing ` cargo generate ` the ugly version is replaced with the
32- expected one.
28+ GitHub actions variables are written in the format
29+ ` {{ "{{ github.variable }}" }} ` instead of ` {{ github.variable }} ` .
3330
3431See [ Continuous delivery] ( https://github.com/rust-github/template/blob/main/.github/workflows/cd.yml )
3532as an example.
You can’t perform that action at this time.
0 commit comments