From 76350e3b94e9f5c0d66c899cb209b720f47c628c Mon Sep 17 00:00:00 2001 From: "Jan C. Brammer" Date: Tue, 8 Jun 2021 08:32:42 +0200 Subject: [PATCH] Trying to access environment variable (2). --- .github/workflows/CI.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 01e53d2..157199f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ PYTHON_VERSION }} + python-version: ${{ env.PYTHON_VERSION }} - name: Install dependencies run: | @@ -41,7 +41,6 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ${{ PYTHON_VERSION }} steps: @@ -50,7 +49,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ env.PYTHON_VERSION }} - name: Install and configure Poetry uses: snok/install-poetry@v1.1.6 @@ -106,7 +105,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ PYTHON_VERSION }} + python-version: ${{ env.PYTHON_VERSION }} - name: Install and configure Poetry uses: snok/install-poetry@v1.1.6 @@ -143,7 +142,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: ${{ PYTHON_VERSION }} + python-version: ${{ env.PYTHON_VERSION }} - name: Install and configure Poetry uses: snok/install-poetry@v1.1.6