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

Doesn't seem to work with private modules #217

Open
akeemphilbert opened this issue Jun 21, 2021 · 0 comments
Open

Doesn't seem to work with private modules #217

akeemphilbert opened this issue Jun 21, 2021 · 0 comments

Comments

@akeemphilbert
Copy link

I've been able to successfully use this with other build pipelines, but I'm running into an issue getting it to compile a binary for a project that is using a private submodule. I have GOPRIVATE set and I have a step that does this

- name: Configure git for private modules run: git config --global url."https://${{ secrets.RELEASE_MANAGER }}:${{ secrets.RELEASE_MANAGER_TOKEN }}@github.com".insteadOf "https://github.com"

and I know that works because if I run a go test things compile and pass. When I try to run a build immediately after the test things fail on it trying to pull down the dependency

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

No branches or pull requests

1 participant