Skip to content

Commit 91b71df

Browse files
committed
fixed workflow
1 parent 08b3659 commit 91b71df

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/update.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
run: |
1515
sudo apt-get install openssh-client python3-setuptools
1616
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020

21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
with:
2323
repository: JinnLynn/genpac
2424
path: genpac
2525

26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
repository: gfwlist/gfwlist
2929
path: gfwlist
@@ -34,8 +34,7 @@ jobs:
3434

3535
- run: |
3636
cd genpac
37-
sed 's/from collections import Callable/from collections.abc import Callable/g' -i $(grep 'from collections import Callable' . -rIl)
38-
sudo python3 setup.py install
37+
sudo pip install .
3938
4039
- name: Update
4140
run: |

0 commit comments

Comments
 (0)