eviden-actions / upload-artifact

This uploads artifacts from your workflow allowing you to share data between jobs and store data once a workflow is complete. This action is an extension of Github's upload-artifact action that tar the files before uploading.
MIT License
2 stars 2 forks source link

Add the ability to change the directory from which to create the archive #130

Closed Th3S4mur41 closed 8 months ago

Th3S4mur41 commented 9 months ago

Current behavior

Currently it adding some files to a tar archive will always include the entire folder structure.

Suggested enhancement

Allow the user to set a different working directory for the tar operation (not the output) in order to allow flattening the folder structure in the archive.

This can be achieved using the -C option as suggested in the PR

[!Note] -C, --directory=DIR Change to DIR before performing any operations. This option is order-sensitive, i.e. it affects all options that follow.

Additional context

No response

Th3S4mur41 commented 8 months ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: