Skip to content

Commit

Permalink
Revert "Add workaround for "ConnectTimeoutException: connection timed…
Browse files Browse the repository at this point in the history
… out" on GitHub Actions (#1605)"

This reverts commit 9776eec.
  • Loading branch information
violetagg committed Apr 26, 2021
1 parent 0f543f7 commit d3ab3d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/check_transport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Update /etc/hosts file
if: startsWith(matrix.os, 'ubuntu-')
# /etc/hosts file needs to be updated as a workaround for
# https://github.com/actions/virtual-environments/issues/3185
run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ jobs:
versionType: ${{ steps.version.outputs.versionType }}
steps:
- uses: actions/checkout@v2
- name: Update /etc/hosts file
# /etc/hosts file needs to be updated as a workaround for
# https://github.com/actions/virtual-environments/issues/3185
run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- name: setup java
uses: actions/setup-java@v1
with:
Expand Down Expand Up @@ -50,10 +46,6 @@ jobs:
environment: snapshots
steps:
- uses: actions/checkout@v2
- name: Update /etc/hosts file
# /etc/hosts file needs to be updated as a workaround for
# https://github.com/actions/virtual-environments/issues/3185
run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- uses: actions/setup-java@v1
with:
java-version: 8
Expand All @@ -73,10 +65,6 @@ jobs:
environment: releases
steps:
- uses: actions/checkout@v2
- name: Update /etc/hosts file
# /etc/hosts file needs to be updated as a workaround for
# https://github.com/actions/virtual-environments/issues/3185
run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- uses: actions/setup-java@v1
with:
java-version: 8
Expand Down

0 comments on commit d3ab3d5

Please sign in to comment.