Skip to content

Commit

Permalink
feat(#8): Cleanup the NuGet repo with each build.
Browse files Browse the repository at this point in the history
  • Loading branch information
iBrotNano committed Mar 16, 2023
1 parent 16d3814 commit f51745c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ jobs:
run: dotnet test -c Release --no-build --verbosity normal
- name: Pack
run: dotnet pack MarcelMelzig.TestEnvironment/MarcelMelzig.TestEnvironment.csproj --no-build -c Release -p:CONTINUOUS_INTEGRATION_BUILD=true
- name: NuGet Repo Cleanup
uses: actions/delete-package-versions@v4
with:
package-name: MarcelMelzig.TestEnvironment
package-type: nuget
min-versions-to-keep: 1
delete-only-pre-release-versions: true
- name: Upload Nuget
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f51745c

Please sign in to comment.