Closed hafidz98 closed 1 year ago
Please try the following version
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: copy file via ssh password
- uses: appleboy/scp-action@master
+ uses: appleboy/scp-action@7af00892de6f8397c5c3393cfb3b32ae7f91b94b
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "tests/a.txt,tests/b.txt"
target: "test"
Please try the following version
build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: copy file via ssh password - uses: appleboy/scp-action@master + uses: appleboy/scp-action@7af00892de6f8397c5c3393cfb3b32ae7f91b94b with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} source: "tests/a.txt,tests/b.txt" target: "test"
Works for me, thanks!
@JohanDavidsson You also can try the stable version appleboy/scp-action@v0.1.4
@appleboy @JohanDavidsson @hafidz98 @dbingham @magikMaker I am facing a similar kind of error, but the process is creating ".tar.gz" files instead of just ".tar". This is resulting in failure on our side as our unix system does not support it. Have raised an issue on the same, can you take a look.
I have error like these, how should i do?
![image](https://user-images.githubusercontent.com/16932189/229131043-166906ac-2011-447b-bcb5-3ea0cf359bed.png)
my ci.yaml![image](https://user-images.githubusercontent.com/16932189/229131201-0fae6c18-4ff9-4b83-8508-8df69b3b737b.png)
I try manually using ms powershell and its success![image](https://user-images.githubusercontent.com/16932189/229132169-dcee8a5e-5a25-43cd-b7e9-ae8a87e2d135.png)
any suggestion? thanks