Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
harmonsir committed May 19, 2024
1 parent 4139750 commit a4e2901
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:


permissions:
contents: write

Expand All @@ -22,15 +26,16 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.11.2"
python-version: "3.12"
# cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip requests==2.28.2 beautifulsoup4==4.11.2 lxml==4.9.2
pip install --no-cache-dir git+https://github.com/swoiow/cells.git
python -m pip install --upgrade pip wheel setuptools
python -m pip install --upgrade requests==2.31.0 beautifulsoup4==4.12.3 lxml==5.2.2 Cython==3.0.10
python -m pip install --no-cache-dir git+https://${{ secrets.PULL_PKG }}@github.com/swoiow/cells.git
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build index
run: |
Expand Down Expand Up @@ -59,4 +64,4 @@ jobs:
mv tmp/index.json tmp/README.md .
git add index.json README.md
git commit -m "$(date +%Y%m%d%H%M)"
git push -f -u origin release
git push -f -u origin release

0 comments on commit a4e2901

Please sign in to comment.