github-action-matrix-outputs-write icon indicating copy to clipboard operation
github-action-matrix-outputs-write copied to clipboard

feat: specify artifact name

Open TheBatman09 opened this issue 1 year ago • 0 comments

what

An optional input artifact-name is added to allow the user to specify how to name the artifacts stored. If the input is missing, the hash is used as before.

why

Due to the use of a hash of the content as an artifact name, if different steps (with a different step name) try to use the action to write the same content, the build will fail. The first step will succeed but the second one will fail because an artifact with the same name already exists.

references

Fixes #44

TheBatman09 avatar Mar 20 '24 18:03 TheBatman09