Skip to content

[bug] v4 uniquely named artifacts fail with 409 #481

@schmidtw

Description

@schmidtw

What happened?

When using a the new v4 version of this action, my workflow can no longer upload multiple results from multiple jobs, despite the artifacts having unique names.

In a prior step, we output the list of files in each job & they are all unique.
image

What did you expect to happen?

The files would upload until the limit of 10 is encountered.

How can we reproduce it?

I can't share the workflow since it is an GH hosted enterprise context, but I have a matrix that produces 10 different jobs and each of the 10 jobs produce 2 uniquely named files. Each job then does this:

      - name: Archive Results
        if: |
          always() &&
          inputs.dry-run == 'false'
        uses: actions/upload-artifact@v4
        with:
          name: Image Metadata
          path: |
            ${{ inputs.working-directory }}/images/*.txt
            ${{ inputs.working-directory }}/images/*.yml

All but the first job fail with a 409.

Anything else we need to know?

This worked fine in v3.1.3. This is running in a Github hosted enterprise context in case that makes any difference.

What version of the action are you using?

4.0.0

What are your runner environments?

self-hosted, linux

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions