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.22k stars 136 forks source link

I'm using github actions to execute Times error messages. drone-scp error: node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node) #179

Open liushuai05 opened 4 months ago

liushuai05 commented 4 months ago

My configuration is as follows( I've tried either ubuntu-20.04 or ubuntu-latest.):


jobs:
  build:
    runs-on: ubuntu-20.04  #or ubuntu-latest
    strategy:

      - name: Deploy to Staging server
        uses: appleboy/scp-action@v0.1.7
        with:
          node-version: 18.12.0
          host: ${{ secrets.HOST }}
          username: ${{ secrets.USERNAME }}
          port: ${{ secrets.PORT }}
          key: ${{ secrets.KEY }}
          # source: "goravel/public,goravel/database,goravel/main,goravel/.env,goravel/storage/app/images,Dockerfile,run.sh,docker-compose.yml "
          source: "docker-compose.yml "
          target: ${{ secrets.FOLDER }}

The error message is as follows:

drone-scp version: v1.6.14
tar all files into /tmp/RioGcQuTbQ.tar.gz
remote server os type is unix
scp file to server.
create folder ***
drone-scp error: node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `nvm use --delete-prefix v18.12.0 --silent` to unset it.
drone-scp rollback: remove all target tmp file
remove file RioGcQuTbQ.tar.gz
2024/05/17 07:53:34 node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
nvm is not compatible with the npm config "prefix" option: currently set to ""
Run `nvm use --delete-prefix v18.12.0 --silent` to unset it.