Skip to content

Error: Error: getaddrinfo ENOTFOUND ftp://**** (control socket) #497

Open
@akbar-ehsaan

Description

@akbar-ehsaan

Hi
Here is my yaml file
name: .NET CI/CD

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
  uses: actions/setup-dotnet@v3
  with:
    dotnet-version: '8.0.x'

- name: Restore dependencies
  run: dotnet restore

- name: Build
  run: dotnet build --no-restore

- name: Test
  run: dotnet test --no-build --verbosity normal

- name: Publish
  run: dotnet publish -c Release -o ./publish

- name: Verify Publish Directory
  run: ls -la ./publish  # This step verifies the contents of the publish directory

I can connect to the ftp by my laptop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions