reecetech / transfer-action

This action transfers data between self-hosted and GitHub-hosted runners
The Unlicense
0 stars 0 forks source link

permissions are not kept for artifact #3

Open guyjacksongit opened 2 years ago

guyjacksongit commented 2 years ago

Ryan has found permissions to be incorrect when pulling down from this action

ps-jay commented 2 years ago

Yup, that would seem to be the case: https://github.com/actions/upload-artifact#permission-loss

Wish upload-artifact had a switch to tar instead of zip an entire directory!

ps-jay commented 2 years ago

🤔

In addition we can transfer less data by only transferring the .git directory

ps-jay commented 2 years ago

In PR #4 I've solved for checkout mode transfers to retain the execute bit from the perspective of the consumers of this action - with a bonus that less data is transferred

I haven't solved for this more generically yet