Skip to content

Commit 6188e01

Browse files
committed
more env issues
1 parent d74cc6e commit 6188e01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16+
env:
17+
POETRY_VERSION: "1.3.2"
18+
POETRY_VENV: "/opt/poetry-venv"
1619

1720
steps:
1821
- uses: actions/checkout@v4
@@ -22,8 +25,6 @@ jobs:
2225
python-version: "3.11"
2326
- name: Install dependencies
2427
run: |
25-
export POETRY_VERSION=1.3.2
26-
export POETRY_VENV=/opt/poetry-venv
2728
sudo apt-get update
2829
sudo apt-get install --no-install-suggests --no-install-recommends --yes python3-venv gcc libpython3-dev
2930
sudo apt-get clean
@@ -37,7 +38,7 @@ jobs:
3738
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3839
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3940
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
40-
export PATH="${PATH}:${POETRY_VENV}/bin"
41+
"PATH=${PATH}:${POETRY_VENV}/bin" >> $env:GITHUB_ENV
4142
poetry config virtualenvs.create false
4243
poetry install
4344
- name: Run Diarization

0 commit comments

Comments
 (0)