Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
petronny committed Jun 15, 2024
1 parent 08b3659 commit 91b71df
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
run: |
sudo apt-get install openssh-client python3-setuptools
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: JinnLynn/genpac
path: genpac

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: gfwlist/gfwlist
path: gfwlist
Expand All @@ -34,8 +34,7 @@ jobs:

- run: |
cd genpac
sed 's/from collections import Callable/from collections.abc import Callable/g' -i $(grep 'from collections import Callable' . -rIl)
sudo python3 setup.py install
sudo pip install .
- name: Update
run: |
Expand Down

0 comments on commit 91b71df

Please sign in to comment.