mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +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:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
PYTHON_VERSION: "3.10"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
@@ -43,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "${{ env.PYTHON_VERSION }}"
|
||||||
|
|
||||||
- name: Install python dependencies
|
- name: Install python dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -57,7 +60,7 @@ jobs:
|
|||||||
pip install pdm
|
pip install pdm
|
||||||
|
|
||||||
# https://github.com/pdm-project/pdm/issues/728#issuecomment-1021771200
|
# 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
|
pdm install -v
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user