Skip to content

Commit 256efeb

Browse files
authored
Merge pull request #367 from yidongnan/modify_github_action
Modify GitHub action
2 parents 39be94d + 3d33b7b commit 256efeb

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

.github/workflows/build-master.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,6 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

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-
3518
- name: Set up java ${{ matrix.java }}
3619
uses: actions/setup-java@v1
3720
with:

.github/workflows/pull-request.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414

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-
3215
- name: Set up java ${{ matrix.java }}
3316
uses: actions/setup-java@v1
3417
with:

0 commit comments

Comments
 (0)