robinraju / release-downloader

Github action to download release assets from private or public repositories
MIT License
168 stars 38 forks source link

"extract" from zip archive does not preserve permissions on Linux #670

Open eugeneko opened 10 months ago

eugeneko commented 10 months ago

"executable" permission is lost when zip is extracted.

  1. Prepare release zip archive with binaries with "executable" permissions
  2. Download it via this action, extract: true
  3. See that "executable" permissions are lost.

I would expect permissions to be preserved.

image image

OS: ubuntu-20.04

robinraju commented 5 months ago

We have a new release that changes the underlying library for extracting zip files.

- uses: robinraju/release-downloader@v1.10
  with:
    fileName: "foo.zip"
    latest: true
    extract: true

Let me know if you still see this problem