ci: use python version instead of executable path (#582) · pbrns/crawlee-python@8fa2b4b · GitHub
Skip to content

Commit 8fa2b4b

Browse files
authored
ci: use python version instead of executable path (apify#582)
1 parent 09da751 commit 8fa2b4b

8 files changed

Lines changed: 13 additions & 8 deletions

File tree

‎.github/workflows/_check_changelog_entry.yaml‎

Lines changed: 1 addition & 1 deletion

‎.github/workflows/_check_docs_build.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
32+
pipx install --python ${{ env.python-version }} poetry
3333
make install-dev
3434
3535
- name: Build generated API reference

‎.github/workflows/_linting.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Install dependencies
2727
run: |
28-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
28+
pipx install --python ${{ env.python-version }} poetry
2929
make install-dev
3030
3131
- name: Run linting

‎.github/workflows/_publish_to_pypi.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Install dependencies
3131
run: |
32-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
32+
pipx install --python ${{ env.python-version }} poetry
3333
make install-dev
3434
3535
# Updates the version number in the project's configuration.

‎.github/workflows/_type_checking.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Install dependencies
2727
run: |
28-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
28+
pipx install --python ${{ env.python-version }} poetry
2929
make install-dev
3030
3131
- name: Run type checking

‎.github/workflows/_unit_tests.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Install dependencies
2828
run: |
29-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
29+
pipx install --python ${{ env.python-version }} poetry
3030
make install-dev
3131
3232
- name: Run unit tests

‎.github/workflows/docs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Install dependencies
3838
run: |
39-
pipx install --python "${{ env.pythonLocation }}/bin/python" poetry
39+
pipx install --python ${{ env.python-version }} poetry
4040
make install-dev
4141
4242
- name: Build generated API reference

‎.github/workflows/run_release.yaml‎

Lines changed: 6 additions & 1 deletion

0 commit comments

Comments
 (0)