appleboy / scp-action

GitHub Action that copy files and artifacts via SSH.
https://github.com/marketplace/actions/scp-command-to-transfer-files
MIT License
1.14k stars 134 forks source link

`error: tar: unknown option -- -` #83

Closed mrusme closed 1 year ago

mrusme commented 1 year ago

Something seems to have changed with the last versions of this action because it suddenly stopped working for me:

untar file xpkHVyWJzG.tar
error:  tar: unknown option -- -
usage: tar {crtux}[014578befHhjLmNOoPpqsvwXZz]
           [blocking-factor | archive | replstr] [-C directory] [-I file]
           [file ...]
       tar {-crtux} [-014578eHhjLmNOoPpqvwXZz] [-b blocking-factor]
           [-C directory] [-f archive] [-I file] [-s replstr] [file ...]

drone-scp error:  Process exited with status 1
drone-scp rollback: remove all target tmp file
remove file xpkHVyWJzG.tar