Skip to content

Commit

Permalink
[INFRA] Workaround for Reverse DNS lookup on Ubuntu GitHub runners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy authored Apr 14, 2021
1 parent c3640af commit 6f0ecad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- 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
- run: ./gradlew check -Pquick=true -x javadoc
- uses: actions/upload-artifact@v2
if: failure()
Expand Down

0 comments on commit 6f0ecad

Please sign in to comment.