Skip to content
file

GitHub Action

Check artifact existence

v0 Latest version

Check artifact existence

file

Check artifact existence

Check existence of an artifact uploaded in the workflow by the upload-artifact action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Check artifact existence

uses: xSAVIKx/artifact-exists-action@v0

Learn more about this action in xSAVIKx/artifact-exists-action

Choose a version

Artifact Exists Action

This action checks if an artifact exists and is available in the workflow.

Note: The action is currently only compatible with upload-artifact action v1-v3 (the v4 version) has migrated to the newer API where the artifact-id is now required over the artifact name.

Inputs

  • name(Required) - The name of the artifact to be checked.

Outputs

  • exists - Determines if the artifact with the provided name is present.

Example usage

uses: xSAVIKx/artifact-exists-action@v0
with:
  name: "coverage-artifact"