1
0
mirror of synced 2024-07-16 19:05:20 +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 }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip sudo python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then sudo pip install -r requirements.txt; fi
- name: update readme - name: update readme
env: env:
gitee_token: ${{ secrets.GITEE_TOKEN }} gitee_token: ${{ secrets.GITEE_TOKEN }}
@ -33,7 +33,7 @@ jobs:
gitee_gist_file_name: ${{ secrets.GITEE_GIST_FILE_NAME }} gitee_gist_file_name: ${{ secrets.GITEE_GIST_FILE_NAME }}
run: | run: |
# fetch new ip content and update readme file # fetch new ip content and update readme file
python fetch_ips.py sudo python fetch_ips.py
- name: commit - name: commit
id: commit id: commit
run: | run: |

View File

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