Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to exclude files from the tar archive #27

Closed
wants to merge 2 commits into from
Closed

Add an option to exclude files from the tar archive #27

wants to merge 2 commits into from

Conversation

cyberf1y
Copy link

No description provided.

@cyberf1y cyberf1y requested a review from a team as a code owner October 15, 2022 18:46
@cyberf1y
Copy link
Author

cyberf1y commented Oct 15, 2022

A similar way to achieve the same thing, and way simpler (though I'm not sure if it won't break something, although this might be avoided by bumping the version) would be to use (#29):

shopt -s globstar &&\
tar --dereference --hard-dereference  -cvf "$RUNNER_TEMP/artifact.tar" --exclude=.git* "${INPUT_PATH}"

What do you think?

@cyberf1y
Copy link
Author

My bad, I looked through the issues, but I did not check the pull requests, where a similar one has been closed with an explanation. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant