Strip folder from artifact

I need to upload a bunch of artifacts file so I have a script that creates an out-folder like this

build-artifacts/
logs/
bin/
libs
test-artifacts/

etc
I’ve added it with

artifacts:
name: build-artifacts-${CI_COMMIT_SHORT_SHA}-${CI_PIPELINE_IID}
paths:

  • ./build-artifacts/

but it shows with the folder inside the artifact.

is it possible to strip the folder from the artifact?