Skip to content

Support transient/temporary artifacts with a retention period of 0 #45

@emilianbold

Description

@emilianbold

Hello,

Some of my artifacts are transient. They transmit data between jobs but I don't want to keep them.

Ideally, I would like to use actions/upload-artifact like this:

- name: Upload artifact
  uses: actions/upload-artifact@v2
  with:
    name: myartifact
    path: mypath
    temporary: true

The temporary (or transient) flag would mark the artifact as transient and automatically delete it when the workflow is done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestretentionArtifact retention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions