Using path as base directory for files inside the zip file
bierdosenhalter opened this issue · 1 comments
bierdosenhalter commented
When using
uses: thedoctor0/zip-release@main
with:
type: 'tar'
path: 'publish/linux64/'
exclusions: '*.pdb'
filename: 'linux-x64.tar.gz'
i get a tar file with my files in the folders
linux-x64.tar.gz\publish\linux64\
but it would be way nicer if they would be in the root of the zip file
linux-x64.tar.gz\
TheDoctor0 commented
Hello @bierdosenhalter!
You can use the existing directory
parameter to achieve that, it will cd
to the configured directory.
directory
Default: .
The working directory where the zip or tar actually runs.
path
Default: .
The path to the files or directory that should be archived, relative to directory
.