mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
Parameterize Python version
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -21,6 +21,9 @@ defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: "3.10"
|
||||
|
||||
jobs:
|
||||
|
||||
###########################################################
|
||||
@@ -43,7 +46,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "${{ env.PYTHON_VERSION }}"
|
||||
|
||||
- name: Install python dependencies
|
||||
run: |
|
||||
@@ -57,7 +60,7 @@ jobs:
|
||||
pip install pdm
|
||||
|
||||
# https://github.com/pdm-project/pdm/issues/728#issuecomment-1021771200
|
||||
pip install -t __pypackages__/3.10/lib selenium
|
||||
pip install -t __pypackages__/${{ env.PYTHON_VERSION }}/lib selenium
|
||||
|
||||
pdm install -v
|
||||
|
||||
|
||||
Reference in New Issue
Block a user