Skip to content

Commit

Permalink
chore: support ipv6
Browse files Browse the repository at this point in the history
Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Mar 16, 2024
1 parent 3188a16 commit 2c5a37c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,10 @@ jobs:

- name: update /etc/hosts
run: |
sed -i -e 's/^::1\slocalhost\s\(.*\)/::1 \1/' /etc/hosts
sed 's/^::1\s\s*localhost\s\(.*\)/::1 \1/' /etc/hosts > /tmp/hosts.temp
cp /tmp/hosts.temp /etc/hosts
rm /tmp/hosts.temp
- name: testing ipv6
uses: ./
with:
Expand Down

0 comments on commit 2c5a37c

Please sign in to comment.