Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
$os = $PSVersionTable.OS
$testResultsDir = $(Join-Path -Path (Get-Location) -ChildPath "${{ env.TEST_RESULTS_DIR }}")
Write-Output "::set-output name=test-results-dir::$testResultsDir"
Write-Output "test-results-dir=$testResultsDir" >> $env:GITHUB_OUTPUT
dotnet test ${{ env.SLN_FILEPATH }} `
-c Release `
--no-build `
Expand Down
9 changes: 7 additions & 2 deletions entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ function Main()
Write-Output "::group::Input arguments"
Write-Output $inputArgs
Write-Output "::endgroup::"

Write-Output "::group::Run dotnet GitHub issue form parser"
$output = dotnet '/app/GitHubIssuesParserCli.dll' $inputArgs
if ($LASTEXITCODE -ne 0 )
{
Write-Output "::error::GitHub issue form parser didn't complete successfully. See the step's log for more details."
exit $LASTEXITCODE
}
Write-Output "::set-output name=parsed-issue::$output"

$random = Get-Random
$delimiter = "EOF_$random"
Write-Output "parsed-issue<<$delimiter" >> $env:GITHUB_OUTPUT
Write-Output $output >> $env:GITHUB_OUTPUT
Write-Output $delimiter >> $env:GITHUB_OUTPUT
Write-Output "::endgroup::"

Write-Output "::group::dotnet GitHub issue form parser output"
Expand Down