Uh oh!
There was an error while loading. Please reload this page.
fix: chmod binaries before publishing - #43
Conversation
aminya
commented
Feb 1, 2021
nornagon
commented
Feb 1, 2021
Have you observed a failure that this fixes? As far as I can tell, the executables should have the correct permissions after being built, |
In the Atom CI, there is an EACCES issue which I think is fixed by this. I am running a new CI on the new version of my fork which includes this PR: |
nornagon
commented
Feb 1, 2021
Ah, I see, the permission is lost between Github Actions and |
Uh oh!
There was an error while loading. Please reload this page.
The issue is not fixed yet. I am on Windows (I publish from Windows). Not sure if that is relevant. |
fb55d92 to
09f473bCompare@nornagon Could you merge this, pack the package and test it in a dummy folder? Because I am on Windows, I can't easily verify if the permissions change on Linux binaries. |
nornagon
commented
Apr 6, 2021
@aminya publishing should happen automatically, you can test it yourself after that I believe! |
aminya
commented
Apr 6, 2021
It's about an hour and nothing has been published. Are you sure that the publishing is automatic? |
Ah, it looks like indeed this repo isn't set up for that. My apologies, most in the Electron organization are. On closer inspection though, it seems this PR will have no effect, because the published packages do not contain anything in [EDIT]: ah I see, we've updated the build instructions since then. Sorry, it's been a minute and I'm operating at new-dad brain levels 😅 |
The permissions might be lost when uploaded and downloaded again. This ensures they are executables before publishing.
The reason: https://github.com/actions/upload-artifact#permission-loss