-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ipv6 with small test, and change source to disable local LAN disc…
…overy. this should show that IPv6 works on the linux screenshot.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
# <https://github.com/actions/runner-images/issues/668#issuecomment-1872487355> | ||
- name: show ip | ||
run: | | ||
ip addr | ||
- name: Setup WARP | ||
uses: fscarmen/[email protected] | ||
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 | ||
|