Skip to content

Commit

Permalink
Feature/again fix pipeline (#58)
Browse files Browse the repository at this point in the history
* testitest

* last try...

---------

Co-authored-by: Stefan Busch <91138936+Stefan-Busch@users.noreply.github.com>
  • Loading branch information
ThomasSeidenbecher and Stefan-Busch authored Nov 29, 2023
1 parent f016306 commit 88c9e1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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: |
$Env:GITHUB_OUTPUT = "semver=$($env:GitVersion_SemVer)"
echo "semver=$($env:GitVersion_SemVer)" >> $Env:GITHUB_OUTPUT
- 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'"
$Env:GITHUB_OUTPUT = "win-x64-fileName=$($fileName)"
Write-Host "Filename: '$fileName'"
echo "win-x64-fileName=$($fileName)" >> $Env:GITHUB_OUTPUT
$outPath = Join-Path $outFolder $fileName
Compress-Archive -DestinationPath $outPath -Path $sourceFolder -CompressionLevel Optimal
Expand All @@ -81,11 +81,11 @@ jobs:
$binary = $packages | where {$_ -match "binary"}
Write-Host "Binary NuGet Package: '$binary'"
$Env:GITHUB_OUTPUT = "nupkg-binary-fileName=$($binary)"
echo "nupkg-binary-fileName=$($binary)" >> $Env:GITHUB_OUTPUT
$client = $packages | where {$_ -match "client"}
Write-Host "Client NuGet Package: '$client'"
$Env:GITHUB_OUTPUT = "nupkg-client-fileName=$($client)"
echo "nupkg-client-fileName=$($client)" >> $Env:GITHUB_OUTPUT
- name: Archive NuGet Packages
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 88c9e1e

Please sign in to comment.