Skip to content

[feat req] Make file name the default #349

@Martmists-GH

Description

@Martmists-GH

What would you like to be added?

From the README:


Uploading without an artifact name

You can upload an artifact without specifying a name

- uses: actions/upload-artifact@v3
  with:
    path: path/to/artifact/world.txt

If not provided, artifact will be used as the default name which will manifest itself in the UI after upload.


For many purposes it would be beneficial to use the name of the file (world.txt in the above example) instead of artifact

Why is this needed?

Examples are:

  • Projects with a versioning system outside of git tags (e.g. manual versions, semver bots, etc)
  • Projects with versions based on dates (e.g. Ghidra extensions)
  • Projects with versions based on dependencies (e.g. modular systems which use format <version>+<other_version>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions