File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change 15
15
steps :
16
16
- uses : actions/checkout@v2
17
17
18
- # https://github.com/actions/virtual-environments/issues/929
19
- - name : " Setup /etc/hosts for Linux"
20
- shell : bash
21
- run : |
22
- if [ `uname` = "Linux" ]; then
23
- echo "\$ cat /etc/hosts"
24
- cat /etc/hosts
25
- echo
26
- (
27
- echo "127.0.0.1 localhost";
28
- echo "::1 localhost ip6-localhost ip6-loopback";
29
- ) | sudo tee /etc/hosts
30
- echo
31
- echo "\$ cat /etc/hosts"
32
- cat /etc/hosts
33
- fi
34
-
35
18
- name : Set up java ${{ matrix.java }}
36
19
uses : actions/setup-java@v1
37
20
with :
Original file line number Diff line number Diff line change 12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
15
- # https://github.com/actions/virtual-environments/issues/929
16
- - name : " Setup /etc/hosts for Linux"
17
- shell : bash
18
- run : |
19
- if [ `uname` = "Linux" ]; then
20
- echo "\$ cat /etc/hosts"
21
- cat /etc/hosts
22
- echo
23
- (
24
- echo "127.0.0.1 localhost";
25
- echo "::1 localhost ip6-localhost ip6-loopback";
26
- ) | sudo tee /etc/hosts
27
- echo
28
- echo "\$ cat /etc/hosts"
29
- cat /etc/hosts
30
- fi
31
-
32
15
- name : Set up java ${{ matrix.java }}
33
16
uses : actions/setup-java@v1
34
17
with :
You can’t perform that action at this time.
0 commit comments