Skip to content

Commit

Permalink
fix: Another attempt at fixing json
Browse files Browse the repository at this point in the history
  • Loading branch information
kekonn committed Mar 22, 2024
1 parent 4a3b2c4 commit 57acb4b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ jobs:
Import-Module -Force .\Build-Functions.psm1
Write-Output "::debug::Generating package versions"
$versionManifest = Get-Versions
"versionManifest='$($versionManifest | ConvertTo-Json)'" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
"versionManifest=$(versionManifest | ConvertTo-Json)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
$versionManifest | Out-File -FilePath versionManifest.json
$summary = "### Version manifest `r`n" + '```json' + "`r`n" + $versionManifest + "`r`n" + '````'
$summary | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
- uses: actions/upload-artifact@v4
name: Upload versionManifest.json
with:
name: artifacts-plan-version-manifest
path: versionManifest.json

build-release:
needs:
Expand Down

0 comments on commit 57acb4b

Please sign in to comment.