Skip to content

Commit

Permalink
Clean packages between rebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
gunpuz committed Jul 31, 2024
1 parent 85ec37c commit d7d91ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
- name: Build app for release
run: |
msbuild Tilde.Translation\Tilde.Translation.csproj -t:rebuild -property:Configuration=Release
$packages = gci -r -fi *.nupkg
echo "Found packages: $packages"
foreach ($package in $packages)
{
Write-Host "Removing package: $package"
Remove-Item $package.FullName
}
msbuild Tilde.Translation\Tilde.Translation.csproj -t:rebuild -property:Configuration=Release
- name: Publish to private nuget repo
run: |
Expand Down

0 comments on commit d7d91ff

Please sign in to comment.