Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

[BUG] Sequential build and publish deleting nuget packages #56

Open
Elskom/publish-nuget
#1
@sergeyshaykhullin

Description

@sergeyshaykhullin

Describe the bug
Each build and push step deletes all nuget packages from previous one

Failed Action Log URL (Required)
https://github.com/appany/AppAny.Quartz.EntityFrameworkCore.Migrations/runs/1913414360?check_suite_focus=true

To Reproduce

  1. Build and publish first package
  2. Build and publish second package
  3. Create release
  4. Try to upload first .nuget to artifacts
  5. BOOM

Expected Behavior
Each build step has its own directory for .nuget files and do not delete previous

The workaround is to reorder steps

Here is the problem

fs.readdirSync(".").filter(fn => /\.s?nupkg$/.test(fn)).forEach(fn => fs.unlinkSync(fn))

Environment:

  • Platform [e.g. Windows / Linux]
  • Action Version [e.g. v2.5.3]

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions