Skip to content

Commit

Permalink
fix pipeline (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasSeidenbecher authored Nov 29, 2023
1 parent 56b294b commit 81386e6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Store SemVer
id: gitversion
run: |
Write-Output "semver=$($env:GitVersion_SemVer)" >> $GITHUB_OUTPUT
Set-Variable -Name "GITHUB_OUTPUT" -Value "semver=$($env:GitVersion_SemVer)"
- name: Create zip
id: packageBuildResults
Expand All @@ -58,8 +58,8 @@ jobs:
$outFolder = Join-Path $env:GITHUB_WORKSPACE "src" | Join-Path -ChildPath "_Out" | Join-Path -ChildPath "GitHub"
New-Item -ItemType Directory -Force -Path $outFolder
$fileName = "win-x64-$($env:GitVersion_SemVer).zip"
Write-Host "Filename: '$fileName'"
Write-Output "win-x64-fileName=$($fileName)" >> $GITHUB_OUTPUT
Write-Host "Filename: '$fileName'"
Set-Variable -Name "GITHUB_OUTPUT" -Value "win-x64-fileName=$($fileName)"
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
Expand All @@ -81,12 +81,11 @@ jobs:
$binary = $packages | where {$_ -match "binary"}
Write-Host "Binary NuGet Package: '$binary'"
Write-Output "nupkg-binary-fileName=$($binary)" >> $GITHUB_OUTPUT
Set-Variable -Name "GITHUB_OUTPUT" -Value "nupkg-binary-fileName=$($binary)"
$client = $packages | where {$_ -match "client"}
Write-Host "Client NuGet Package: '$client'"
Write-Host "::set-output name=nupkg-client-fileName::$($client)"
Write-Output "nupkg-client-fileName=$($client)" >> $GITHUB_OUTPUT
Set-Variable -Name "GITHUB_OUTPUT" -Value "nupkg-client-fileName=$($client)"
- name: Archive NuGet Packages
Expand Down

0 comments on commit 81386e6

Please sign in to comment.