Skip to content

Python3 Requests依赖报错-ImportError: urllib3 v2.0 only suports Openssl 1.1.1+ #32

Python3 Requests依赖报错-ImportError: urllib3 v2.0 only suports Openssl 1.1.1+

Python3 Requests依赖报错-ImportError: urllib3 v2.0 only suports Openssl 1.1.1+ #32

Workflow file for this run

name: auto-update-readme-by-issue
on:
issues:
types: [opened, edited, milestoned,deleted,pinned,unpinned,closed,reopened,labeled,unlabeled]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install dependencies
run: |
pip3 install setuptools --user
pip3 install PyGithub --user
pip3 install wordcloud --user
pip3 install matplotlib --user
- name: run python script
env:
GITHUB_TOKEN: ${{ secrets.BLOG_SECRET }}
run: python3 main.py
- name: config git info
run: |
git config --global user.email "[email protected]"
git config --global user.name $GITHUB_TRIGGERING_ACTOR
- name: commit change
run: |
git checkout master
git add .
git commit -m "Update from Github Action"
- name: push change
env:
GITHUB_LOGIN: johnnian
GITHUB_TOKEN: ${{ secrets.BLOG_SECRET }}
run: |
git push https://$GITHUB_TRIGGERING_ACTOR:[email protected]/$GITHUB_REPOSITORY.git
- name: done
run: echo 'done'