1
0
mirror of synced 2024-07-07 20:45:13 +08:00
This commit is contained in:
xueweihan 2022-11-22 13:18:06 +08:00
parent 98db5e23b9
commit b54f9182c0
2 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
sudo python -m pip install --upgrade pip
if [ -f requirements.txt ]; then sudo pip install -r requirements.txt; fi
- name: update readme
env:
gitee_token: ${{ secrets.GITEE_TOKEN }}
@ -33,7 +33,7 @@ jobs:
gitee_gist_file_name: ${{ secrets.GITEE_GIST_FILE_NAME }}
run: |
# fetch new ip content and update readme file
python fetch_ips.py
sudo python fetch_ips.py
- name: commit
id: commit
run: |

View File

@ -150,4 +150,4 @@ def main(verbose=False) -> None:
if __name__ == '__main__':
main()
main(True)