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

[v10.6.2] Install-HydrationEpac fails when scriptType set to script and pipelineType is GitHubActions #775

Closed
ewlidd opened this issue Oct 15, 2024 · 1 comment · Fixed by #826
Assignees
Labels
bug Something isn't working

Comments

@ewlidd
Copy link

ewlidd commented Oct 15, 2024

Describe the bug
Install-HydrationEpac throws an error at the step where it copies pipeline files if you select script type, and also github actions.

Renaming StarterKit/Pipelines/GitHubActions/templates-ps1-use-scripts to templates-ps1-scripts fixes this issue.
I don't see any references to templates-ps1-use-scripts in the code. Only templates-ps1-scripts.

To Reproduce
Steps to reproduce the behavior:
Run Install-HydrationEpac and select Git Hub Actions as the pipeline type and script as the script type.

Screenshots

Copying starter kit  GitHub Actions workflows (GitHub-Flow) from './StarterKit/Pipelines/GitHubActions/GitHub-Flow/*.yml' to ./.github/workflows
Copying starter kit  GitHub Actions reusable workflows (use scripts) from './StarterKit/Pipelines/GitHubActions/templates-ps1-scripts/*.yml' to ./.github/workflows
Press Enter to continue: 
Install-HydrationEpac: Unable to create pipeline. Please rerun hydration and confirm the pipeline responses in the New-HydrationAnswerFile cmdlet interview.

EPAC Version
10.6.2

@ewlidd ewlidd added the bug Something isn't working label Oct 15, 2024
@jeremiahhoward
Copy link
Member

I'll take a look at that as well, thank you!

@anwather anwather linked a pull request Nov 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants