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

CARE-265: Refactoring GitHub Actions workflows to DRY with common ones #30

Merged
merged 12 commits into from
Nov 25, 2022

Conversation

Piedone
Copy link
Member

@Piedone Piedone commented Nov 17, 2022

'-property:RetryDelayMilliseconds=1000'
"-property:OutDir=$(Join-Path $PWD artifacts)"
)
"directory=$(Join-Path $PWD artifacts)" >> $Env:GITHUB_OUTPUT
Copy link

Choose a reason for hiding this comment

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

Why is this entry needed in $Env:GITHUB_OUTPUT?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is creating an output of the step, which is then used in the Build step. Since this value need so be produced in PS (or some other script), as opposed to simply using one of the GHA expressions (in which case it would be embedded in the assignment to dotnet-build-switches), we need a separate step to run this script.

Copy link

Choose a reason for hiding this comment

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

Thanks. I see now that directory is used in the following step.

@0liver
Copy link

0liver commented Nov 25, 2022

@Piedone Please merge - I don't have write-access here.

@Piedone Piedone merged commit 06d3f9d into dev Nov 25, 2022
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.

2 participants