add sudo
This commit is contained in:
parent
98db5e23b9
commit
b54f9182c0
6
.github/workflows/GitHub520.yml
vendored
6
.github/workflows/GitHub520.yml
vendored
|
@ -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: |
|
||||||
|
|
|
@ -150,4 +150,4 @@ def main(verbose=False) -> None:
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main(True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user