mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Workaround broken reverse name lookup on gh actions (#2545)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
4d8b7b0853
commit
0de3bb13ca
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -20,6 +20,11 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
|
||||
if: runner.os == 'Linux'
|
||||
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: Using Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user