download-artifact icon indicating copy to clipboard operation
download-artifact copied to clipboard

[bug] Creates a subdirectory named "artifact" under the specified path location

Open lnxpy opened this issue 4 months ago • 0 comments

What happened?

This is my upload artifact step:

      - name: Upload badges as artifact
        uses: actions/upload-artifact@v3
        with:
          path: .pypi_chart/${{ matrix.package }}_badge.svg

and this is my download artifact step:

      - name: Download badges artifact
        uses: actions/download-artifact@v3
        with:
          path: .pypi_chart/
          merge-multiple: true

I expect all my .svg files to be stored under the .pypi_chart/ directory like:

  • .pypi_chart/1.svg
  • .pypi_chart/2.svg
  • .pypi_chart/3.svg

But it creates a subdirectory called .pypi_chart/artifact/ and places those svg files there.

What did you expect to happen?

How can we reproduce it?

Anything else we need to know?

What version of the action are you using?

v3

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

No response

lnxpy avatar Oct 02 '24 19:10 lnxpy