support ipv6 (#715)

* support ipv6

* fix

* refactor

* only listen to ipv6

* refactor

* refactor 2

* 3

* fix build?

* fix release
This commit is contained in:
Evgeny Poberezkin
2023-04-15 22:40:02 +02:00
committed by GitHub
parent 2b93e0b17d
commit 9692e636ac
5 changed files with 36 additions and 13 deletions
+8 -8
View File
@@ -52,10 +52,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
shell: bash
run: |
mv $(cabal list-bin smp-server) smp-server-ubuntu-$platform_name
mv $(cabal list-bin ntf-server) ntf-server-ubuntu-$platform_name
mv $(cabal list-bin xftp-server) xftp-server-ubuntu-$platform_name
mv $(cabal list-bin xftp) xftp-ubuntu-$platform_name
mv $(cabal list-bin smp-server) smp-server-ubuntu-${{ matrix.platform_name}}
mv $(cabal list-bin ntf-server) ntf-server-ubuntu-${{ matrix.platform_name}}
mv $(cabal list-bin xftp-server) xftp-server-ubuntu-${{ matrix.platform_name}}
mv $(cabal list-bin xftp) xftp-ubuntu-${{ matrix.platform_name}}
- name: Build changelog
if: startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-20.04'
@@ -81,10 +81,10 @@ jobs:
prerelease: true
files: |
LICENSE
smp-server-ubuntu-$platform_name
ntf-server-ubuntu-$platform_name
xftp-server-ubuntu-$platform_name
xftp-ubuntu-$platform_name
smp-server-ubuntu-${{ matrix.platform_name}}
ntf-server-ubuntu-${{ matrix.platform_name}}
xftp-server-ubuntu-${{ matrix.platform_name}}
xftp-ubuntu-${{ matrix.platform_name}}
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}