diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 9ba5cf9ff7..85b0a62f3d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -69,12 +69,8 @@ jobs: path: ${{ steps.rename-build.outputs.artifactname }} - name: Copy single file to remote - uses: garygrossgarten/github-action-scp@v0.8.0 if: ${{ steps.rename-build.outputs.uploadname }} timeout-minutes: 5 - with: - local: "${{ steps.rename-build.outputs.uploadname }}" - remote: "${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.rename-build.outputs.uploadname }}" - host: ${{ secrets.SFTP_HOST }} - username: ${{ secrets.SFTP_USERNAME }} - password: ${{ secrets.SFTP_PASSWORD }} + shell: bash + run: | + sshpass -p "${{ secrets.SFTP_PASSWORD }}" scp -r "${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_HOST }}:${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.rename-build.outputs.uploadname }}" "${{ steps.rename-build.outputs.uploadname }}"