From 0652037dffa844ed1b64f87538c2c74402facef0 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Tue, 16 Apr 2024 14:30:08 +0200 Subject: [PATCH] add ipv6 with small test, and change source to disable local LAN discovery. this should show that IPv6 works on the linux screenshot. --- .github/workflows/nightly.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 34e5390f..a7cf8039 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -552,6 +552,27 @@ jobs: - name: os version run: uname -a + # This is necessary because GitHub Actions does not support IPv6 yet + # And if a user has `ipv6: true` set in their yaml config, it wouldn't work otherwise + # + - name: show ip + run: | + ip addr + + - name: Setup WARP + uses: fscarmen/warp-on-actions@v1.1 + with: + stack: ipv6 # Optional. Support [ ipv4, ipv6, dual ]. Default is dual. + + - name: ipv6 + run: | + curl -m 9 --ipv6 --verbose https://google.com + curl -m 9 -6 https://ifconfig.co + + - name: show ip + run: | + ip addr + - name: install deps run: | sudo apt-get update @@ -600,6 +621,13 @@ jobs: cat /tmp/a.sh chmod a+rx /tmp/a.sh + - name: patch-app + run: | + pwd + ls -al + sed -i -e 's#PREF__local_discovery_enabled = local_discovery_int#PREF__local_discovery_enabled = 0#' src/main/kotlin/com/zoffcc/applications/trifa/MainActivity.kt + git diff||echo "NO ERR" + - name: startup-app run: | pwd