Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish action fails on rm of old packages #22

Closed
lsolano opened this issue Nov 11, 2021 · 0 comments · Fixed by #23
Closed

Publish action fails on rm of old packages #22

lsolano opened this issue Nov 11, 2021 · 0 comments · Fixed by #23

Comments

@lsolano
Copy link
Owner

lsolano commented Nov 11, 2021

Describe the bug
The publish action fails trying to remove old versions when the folder is empty.

Run rm src/Validations/bin/Release/Triplex.Validations*.nupkg
rm: cannot remove 'src/Validations/bin/Release/Triplex.Validations*.nupkg': No such file or directory
Error: Process completed with exit code 1.

To Reproduce
Steps to reproduce the behavior:

  1. Create a release, with a new tag, to trigger the action.
  2. Wait for the puglish workflow to run "Publish in Nuget.org V3 Package Registry" (current name).
  3. Wait for the error on the rm step (Clean old Packages)

Expected behavior
The rm command should be forced to avoid false negatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant