Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI #46

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add CI #46

wants to merge 1 commit into from

Conversation

jonas-schievink
Copy link
Contributor

No description provided.

run: cargo install cargo-generate --debug
- name: Instantiate template
run: |
git config --global init.defaultbranch main
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you also try to git configure:

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

IIRC that causes once for me on a ci run also a problem. See our workflow config

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that didn't seem to do anything here

override: true
target: ${{ env.TARGET }}
- name: debug
run: cd app-template && git status && ls -la
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here you cd into the app-template, I'm not sure if that would not affect further steps, so that below the cargo generate --git app-template --name out would fail because you are in the folder already?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, doesn't look like that's the cause either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants